Part Number Hot Search : 
AN5256 TIP41CTU 1004R2 90130 2N3417 LPC761 SK413 CWST472
Product Description
Full Text Search
 

To Download WM8731SEDSR Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  w wm8731 / wm8731l portable internet audio codec with headphone driver and programmable sample rates wolfson microelectronics plc to receive regular email updates, sign up at http://www.wolfsonmicro.com/enews/ production data, august 2006, rev 4.3 copyright ? 2006 wolfson microelectronics plc description the wm8731 or wm8731l (wm8731/l) are low power stereo codecs with an integrated headphone driver. the wm8731/l is designed specifically for portable mp3 audio and speech players and recorders. the wm8731 is also ideal for md, cd-rw machines and dat recorders. stereo line and mono microphone level audio inputs are provided, along with a mute function, programmable line level volume control and a bias voltage output suitable for an electret type microphone. stereo 24-bit multi-bit sigma delta adcs and dacs are used with oversampling digital interpolation and decimation filters. digital audio input word lengths from 16-32 bits and sampling rates from 8khz to 96khz are supported. stereo audio outputs are buffered for driving headphones from a programmable volume control, line level outputs are also provided along with anti-thump mute and power up/down circuitry. the device is controlled via a 2 or 3 wire serial interface. the interface provides access to all features including volume controls, mutes, de-emphasis and extensive power management facilities. the device is available in a small 28- lead ssop package or the smaller 28 lead quad flat leadless package (qfn). features ? highly efficient headphone driver ? audio performance - adc snr 90db (?a? weighted) at 3.3v, 85db at 1.8v - dac snr 100db (?a? weighted) at 3.3v, 95db at 1.8v ? low power - playback only 22mw, 8mw (?l? variant) - analogue pass through 12mw, 3.5mw (?l? variant) - 1.42 ? 3.6v digital supply operation - 2.7 ? 3.6v analogue supply operation - 1.8 ? 3.6v analogue supply operation (?l? variant) ? adc and dac sampling frequency: 8khz ? 96khz ? selectable adc high pass filter ? 2 or 3-wire mpu serial control interface ? programmable audio data interface modes - i 2 s, left, right justified or dsp - 16/20/24/32 bit word lengths - master or slave clocking mode ? microphone input and electret bias with side tone mixer ? available in 28-lead ssop or 28-lead qfn package applications ? portable mp3 players and recorders ? cd and minidisc recorders ? pdas / smartphones block diagram mux mux vol vol adc adc digital filters digtal audio interface control interface dac dac vol/ mute vol/ mute h/p driver h/p driver csb sdin sclk rhpout lhpout rout lout rlinein llinein vmid dbvdd dgnd avdd agnd 0db/ 20db micin +12 to -34.5db, 1.5db steps clkout +6 to -73db 1 db steps hpvdd hpgnd +6 to -73db 1 db steps dcvdd adclrc daclrc bclk dacdat adcdat osc xti/mclk xto mode micbias mute bypass bypass clkin divider (div x1, x2) clkout divider (div x1, x2) atten/ mute mute mute atten/ mute mute mute mute mute mute +12 to -34.5db, 1.5db steps side tone side tone w wm8731
wm8731 / wm8731l production data w pd rev 4.3 august 2006 2 table of contents description .......................................................................................................1 features.............................................................................................................1 applications .....................................................................................................1 block diagram .................................................................................................1 pin configuration - 28 pin ssop.................................................................3 ordering information ..................................................................................3 pin configuration ? 28 pin qfn ...................................................................4 ordering information ..................................................................................4 pin description ................................................................................................5 absolute maximum ratings.........................................................................6 recommended operating conditions ? wm8731 ...................................6 recommended operating conditions ? wm8731l.................................6 electrical characteristics ? wm8731 ....................................................7 terminology .....................................................................................................9 power consumption ? wm8731 ..................................................................10 electrical characteristics ? wm8731l................................................11 terminology ...................................................................................................13 power consumption ? wm8731l................................................................14 master clock timing....................................................................................15 digital audio interface ? master mode ....................................................... 16 digital audio interface ? slave mode .......................................................... 17 mpu interface timing .......................................................................................... 18 device description .......................................................................................20 introduction ......................................................................................................... 20 audio signal path................................................................................................. 21 device operation ................................................................................................. 33 audio data sampling rates............................................................................... 40 activating dsp and digital audio interface .............................................. 44 software control interface......................................................................... 44 power down modes ............................................................................................ 46 register map ......................................................................................................... 48 digital filter characteristics ...............................................................53 terminology .......................................................................................................... 54 dac filter responses .................................................................................55 adc filter responses .................................................................................56 adc high pass filter ........................................................................................... 57 digital de-emphasis characteristics ...................................................58 applications information .........................................................................59 recommended external components .......................................................... 59 minimising pop noise at the analogue outputs........................................ 60 package dimensions - ssop .......................................................................61 package dimensions - qfn..........................................................................62 important notice ..........................................................................................63 address: .................................................................................................................. 63
wm8731 / wm8731l production data w pd rev 4.3 august 2006 3 pin configuration - 28 pin ssop 1 avdd 2 agnd 3 micbias 4 vmid 5 micin 6 rlinein 7 llinein 8 dcvdd 9 mode 10 csb sdin sclk xto xti/mclk 15 clkout dgnd adclrc adcdat dacdat daclrc bclk dbvdd lhpout hpgnd hpvdd rhpout lout rout 11 12 13 14 16 17 18 19 20 21 22 23 24 25 28 27 26 ordering information device temperature range avdd range package moisture sensitivity level peak soldering temperature wm8731seds -25 to +85 o c 2.7 to 3.6v 28-lead ssop (pb-free) msl 1 260c wm8731seds/r -25 to +85 o c 2.7 to 3.6v 28-lead ssop (pb-free, tape and reel) msl 1 260c note: reel quantity = 2,000
wm8731 / wm8731l production data w pd rev 4.3 august 2006 4 pin configuration ? 28 pin qfn top view ordering information device temperature range avdd range package moisture sensitivity level peak soldering temperature wm8731lsefl -25 to +85 o c 1.8 to 3.6v 28-lead qfn (pb-free) msl 1 260c wm8731lsefl/r -25 to +85 o c 1.8 to 3.6v 28-lead qfn (pb-free, tape and reel) msl 1 260c wm8731sefl -25 to +85 o c 2.7 to 3.6v 28-lead qfn (pb-free) msl 1 260c wm8731sefl/r -25 to +85 o c 2.7 to 3.6v 28-lead qfn (pb-free, tape and reel) msl 1 260c note: reel quantity = 3,500
wm8731 / wm8731l production data w pd rev 4.3 august 2006 5 pin description 28 pin ssop 28 pin qfn name type description 1 5 dbvdd supply digital buffers vdd 2 6 clkout digital output buffered clock output 3 7 bclk digital input/output digital audio bit clock, pull down, (see note 1) 4 8 dacdat digital input dac digital audio data input 5 9 daclrc digital input/output dac sample rate left/right clock, pull down (see note 1) 6 10 adcdat digital output adc digital audio data output 7 11 adclrc digital input/output adc sample rate left/right clock, pull down (see note 1) 8 12 hpvdd supply headphone vdd 9 13 lhpout analogue output left channel headphone output 10 14 rhpout analogue output right channel headphone output 11 15 hpgnd ground headphone gnd 12 16 lout analogue output left channel line output 13 17 rout analogue output right channel line output 14 18 avdd supply analogue vdd 15 19 agnd ground analogue gnd 16 20 vmid analogue output mid-rail reference decoupling point 17 21 micbias analogue output electret microphone bias 18 22 micin analogue input microphone input (ac coupled) 19 23 rlinein analogue input right channel line input (ac coupled) 20 24 llinein analogue input left channel line input (ac coupled) 21 25 mode digital input control interface selection, pull up (see note 1) 22 26 csb digital input 3-wire mpu chip select/ 2-wire mpu interface address selection, active low, pull up (see note 1) 23 27 sdin digital input/output 3-wire mpu data input / 2-wire mpu data input 24 28 sclk digital input 3-wire mpu clock input / 2-wire mpu clock input 25 1 xti/mclk digital input crystal input or master clock input (mclk) 26 2 xto digital output crystal output 27 3 dcvdd supply digital core vdd 28 4 dgnd ground digital gnd note: 1. pull up/down only present when control register interface active=0 to conserve power. 2. it is recommended that the qfn ground paddle is connected to analogue ground on the application pcb.
wm8731 / wm8731l production data w pd rev 4.3 august 2006 6 absolute maximum ratings absolute maximum ratings are stress ratings only. permanent damage to the device may be caused by continuously operating at or beyond these limits. device functional operating limits and guaranteed performance specifications are given under electrical characteristics at the test conditions specified. esd sensitive device. this device is manufactured on a cmos process. it is therefore generically susceptible to damage from excessive static voltages. proper esd precautions must be taken during handling and storage of this device. wolfson tests its package types according to ipc/jedec j-std-020b for moisture sensitivity to determine acceptable storage conditions prior to surface mount assembly. these levels are: msl1 = unlimited floor life at <30 c / 85% relative humidity. not normally stored in moisture barrier bag. msl2 = out of bag storage for 1 year at <30 c / 60% relative humidity. supplied in moisture barrier bag. msl3 = out of bag storage for 168 hours at <30 c / 60% relative humidity. supplied in moisture barrier bag. condition min max digital supply voltage -0.3v +3.63v analogue supply voltage -0.3v +3.63v voltage range digital inputs dgnd -0.3v dvdd +0.3v voltage range analogue inputs agnd -0.3v avdd +0.3v operating temperature range, t a -25 c +85 c storage temperature after soldering -65 c +150 c notes: 1. analogue and digital grounds must always be within 0.3v of each other. 2. the digital supply core voltage (dcvdd) must always be less than or equal to the analogue supply voltage (avdd) recommended operating conditions ? wm8731 parameter symbol test conditions min typ max unit digital supply range (core) dcvdd 1.42 3.6 v digital supply range (buffer) dbvdd 2.7 3.6 v analogue supply range avdd, hpvdd 2.7 3.6 v ground dgnd,agnd,hpgnd 0 v recommended operating conditions ? wm8731l parameter symbol test conditions min typ max unit digital supply range (core) dcvdd 1.42 3.6 v digital supply range (buffer) dbvdd 1.8 3.6 v analogue supply range avdd, hpvdd 1.8 3.6 v ground dgnd,agnd,hpgnd 0 v
wm8731 / wm8731l production data w pd rev 4.3 august 2006 7 electrical characteristics ? wm8731 test conditions avdd, hpvdd, dbvdd = 3.3v, agnd = 0v, dcvdd = 1.5v, dgnd = 0v, t a = +25 o c, slave mode, fs = 48khz, xti/mclk = 256fs unless otherwise stated. parameter symbol test conditions min typ max unit digital logic levels (cmos levels) input low level v il 0 .3 x dbvdd v input high level v ih 0.7 x dbvdd v output low v ol 0.10 x dbvdd v output high v oh 0.9 x dbvdd v power on reset threshold (dcvdd) dcvdd threshold on -> off v th 0.9 v hysteresis v ih 0.3 v dcvdd threshold off -> on v ol 0.6 v analogue reference levels reference voltage (vmid) v vmid avdd/2 v potential divider resistance r vmid 50k ? line input to adc input signal level (0db) v inline 1.0 avdd/3.3 vrms a-weighted, 0db gain @ fs = 48khz 85 90 a-weighted, 0db gain @ fs = 96khz 90 signal to noise ratio (note 1,3) snr a-weighted, 0db gain @ fs = 48khz, avdd = 2.7v 88 db dynamic range (note 3) dr a-weighted, -60db full scale input 85 90 db total harmonic distortion thd -1db input, 0db gain -84 0.006 -74 0.02 db % 1khz, 100mvpp 50 power supply rejection ratio psrr 20hz to 20khz, 100mvpp 45 db adc channel separation 1khz input 90 db programmable gain 1khz input rsource < 50 ? -34.5 0 +12 db programmable gain step size guaranteed monotonic 1.5 db mute attenuation 0db, 1khz input 80 db 0db gain 20k 30k input resistance r inline 12db gain 10k 15k ? input capacitance c inline 10 pf
wm8731 / wm8731l production data w pd rev 4.3 august 2006 8 test conditions avdd, hpvdd, dbvdd = 3.3v, agnd = 0v, dcvdd = 1.5v, dgnd = 0v, t a = +25 o c, slave mode, fs = 48khz, xti/mclk = 256fs unless otherwise stated. microphone input to adc @ 0db gain, fs = 48khz (40k ? source impedance. see figure 12) input signal level (0db) v inmic 1.0 avdd/3.3 vrms signal to noise ratio (note 1,3) snr a-weighted, 0db gain 85 db dynamic range (note 3) dr a-weighted, -60db full scale input 85 db total harmonic distortion thd 0db input, 0db gain -60 -55 db 1khz 100mvpp 50 db power supply rejection ratio psrr 20hz to 20khz 100mvpp 45 db programmable gain boost micboost bit set 1khz input rsource < 50 ? 34 db mic path gain (micboost gain is additional to this nominal gain) micboost = 0 rsource < 50 ? 14 db mute attenuation 0db, 1khz input 80 db input resistance r inmic 10k ? input capacitance c inmic 10 pf microphone bias bias voltage v micbias 0.75*avdd ? 100mv 0.75*avdd 0.75*avdd + 100mv v bias current source i micbias 3 ma output noise voltage vn 1k to 20khz 25 nv/ hz line output for dac playback only (load = 10k ? . 50pf) 0dbfs full scale output voltage at line outputs 1.0 x avdd/3.3 vrms a-weighted, @ fs = 48khz 95 100 a-weighted @ fs = 96khz 98 signal to noise ratio (note 1,3) snr a-weighted, fs = 48khz, avdd = 2.7v 98 db dynamic range (note 3) dr a-weighted, -60db full scale input 85 95 db 1khz, 0dbfs -88 -80 total harmonic distortion thd 1khz, -3dbfs -92 db 1khz 100mvpp 50 power supply rejection ratio psrr 20hz to 20khz 100mvpp 45 db dac channel separation 1khz, 0db 100 db analogue line input to line output (load = 10k ? . 50pf, no gain on input ) bypass mode 0db full scale output voltage 1.0 x avdd/3.3 vrms signal to noise ratio (note 1,3) snr 90 95 db 1khz, 0db -86 -80 total harmonic distortion thd 1khz, -3db -92 db 1khz 100mvpp 50 power supply rejection ratio pssr 20hz to 20khz 100mvpp 45 db mute attenuation 1khz, 0db 80 db
wm8731 / wm8731l production data w pd rev 4.3 august 2006 9 test conditions avdd, hpvdd, dbvdd = 3.3v, agnd = 0v, dcvdd = 1.5v, dgnd = 0v, t a = +25 o c, slave mode, fs = 48khz, xti/mclk = 256fs unless otherwise stated. stereo headphone output 0db full scale output voltage 1.0 x avdd/3.3 vrms rl = 32 ? 30 max output power p o rl = 16 ? 50 mw signal to noise ratio (note 1, 3) snr a-weighted 90 97 db 1khz, r l = 32 ? p o = 10mw rms (-5db) 0.056 -65 0.1 60 % db total harmonic distortion thd 1khz, r l = 32 ? p o = 20mw rms (-2db) 0.56 -45 1.0 40 % db 1khz 100mvpp 50 power supply rejection ratio psrr 20hz - 20khz, 100mvpp 45 db programmable gain 1khz -73 0 6 db programmable gain step size 1khz 1 db mute attenuation 1khz, 0db 80 db microphone input to headphone output side tone mode 0db full scale output voltage 1.0 x avdd/3.3 vrms signal to noise ratio (note 1,3) snr 90 95 db 1khz 100mvpp 50 power supply rejection ratio psrr 20hz to 20khz 100mvpp 45 db programmable attenuation 1khz 6 15 db programmable attenuation step size 1khz 3 db mute attenuation 1khz, 0db 80 db notes: 1. ratio of output level with 1khz full scale input, to the output level with the input short circuited, measured ?a? weighted over a 20hz to 20khz bandwidth using an audio analyser. 2. ratio of output level with 1khz full scale input, to the output level with all zeros into the digital input, measured ?a? we ighted over a 20hz to 20khz bandwidth. 3. all performance measurements done with 20khz low pass filter, and where noted an a-weight filter. failure to use such a filt er will result in higher thd+n and lower snr and dynamic range readings than are found in the electrical characteristics. the low pass filter removes out of band noise; although it is not audible it may affect dynamic specification values. 4. vmid decoupled with 10uf and 0.1uf capacitors (smaller values may result in reduced performance). terminology 1. signal-to-noise ratio (db) - snr is a measure of the difference in level between the full scale output and the output with no signal applied. (no auto-zero or automute function is employed in achieving these results). 2. dynamic range (db) - dr is a measure of the difference between the highest and lowest portions of a signal. normally a thd+n measurement at 60db below full scale. the measured signal is then corrected by adding the 60db to it. (e.g. thd+n @ -60db= -32db, dr= 92db). 3. thd+n (db) - thd+n is a ratio, of the rms values, of (noise + distortion)/signal. 4. channel separation (db) - also known as cross-talk. this is a measure of the amount one channel is isolated from the other. normally measured by sending a full scale signal down one channel and measuring the other.
wm8731 / wm8731l production data w pd rev 4.3 august 2006 10 power consumption ? wm8731 current consumption typical mode description poweroff clkoutpd oscpd outpd dacpd adcpd micpd lineinpd avdd (3.3v) hp vdd (3.3v) dc vdd (1.5v) db vdd (3.3v) unit record and playback oscillator enabled 0 0 0 0 0 0 0 0 13.1 1.7 3.0 1.5 ma external mclk 0 0 1 0 0 0 0 0 13.1 1.7 3.2 0.8 ma oscillator and clkout disabled, no microphone 0 1 1 0 0 0 1 0 12.2 1.7 3.2 0.07 ma playback only oscillator enabled 0 0 0 0 0 1 1 1 3.4 1.7 2.1 1.5 ma external mclk 0 1 1 0 0 1 1 1 3.3 1.7 2.3 0.07 ma record only line record, oscillator enabled 0 0 0 1 1 0 1 0 9.2 - 2.6 1.3 ma line record, using external mclk 0 0 1 1 1 0 1 0 9.2 - 2.6 0.7 ma mic record, oscillator enabled 0 0 0 1 1 0 0 1 8.6 - 2.7 1.5 ma mic record, using external mclk 0 0 1 1 1 0 0 1 8.6 - 2.6 0.7 ma side tone (microphone input to headphone output) external clock still running 0 0 1 0 1 1 0 1 1.6 1.7 0.08 0.7 ma clock stopped 0 0 1 0 1 1 0 1 1.5 1.7 - - ma analogue bypass (line-in to line-out) external clock still running 0 0 1 0 1 1 1 0 2.1 1.7 0.08 0.7 ma clock stopped 0 0 1 0 1 1 1 0 2.2 1.7 - - ma standby external clock still running 0 1 1 1 1 1 1 1 16 0.3 77 65 a clock stopped 0 1 1 1 1 1 1 1 16 0.3 0.3 0.2 a power down external clock still running 1 1 1 1 1 1 1 1 0.2 0.3 77 65 a clock stopped 1 1 1 1 1 1 1 1 0.3 0.3 0.3 0.3 a table 1 powerdown mode current consumption examples notes: 1. t a = +25 o c. fs = 48khz, xti/mclk = 256fs (12.288mhz). 2. the data presented here was measured with the audio interface in master mode whenever the internal clock oscillator was used, and in slave mode whenever an external clock was used (i.e. ms = 1 when oscpd = 0 and vice versa). however, it is also possible to use the wm8731 with ms = oscpd = 0 or ms = oscpd = 1. 3. all figures are quiescent, with no signal. 4. the power dissipation in the headphone itself not included in the above table.
wm8731 / wm8731l production data w pd rev 4.3 august 2006 11 electrical characteristics ? wm8731l test conditions avdd, hpvdd, dbvdd = 1.8v, agnd = 0v, dcvdd = 1.5v, dgnd = 0v, t a = +25 o c, slave mode, fs = 48khz, xti/mclk = 256fs unless otherwise stated. parameter symbol test conditions min typ max unit digital logic levels (cmos levels) input low level v il 0.3 x dbvdd v input high level v ih 0.7 x dbvdd v output low v ol 0.10 x dbvdd v output high v oh 0.9 x dbvdd v power on reset threshold (dcvdd) dcvdd threshold on -> off v th 0.9 v hysteresis v ih 0.3 v dcvdd threshold off -> on v ol 0.6 v analogue reference levels reference voltage (vmid) v vmid avdd/2 v potential divider resistance r vmid 50k ? line input to adc input signal level (0db) v inline 1.0 avdd/3.3 vrms a-weighted, 0db gain @ fs = 48khz 75 85 signal to noise ratio (note 1,3) snr a-weighted, 0db gain @ fs = 96khz 85 db dynamic range (note 3) dr a-weighted, -60db full scale input 80 88 db total harmonic distortion thd -1db input, 0db gain -76 -60 db 1khz, 100mvpp 50 power supply rejection ratio psrr 20hz to 20khz, 100mvpp 45 db adc channel separation 1khz input 90 db programmable gain 1khz input rsource < 50 ? -34.5 0 +12 db programmable gain step size guaranteed monotonic 1.5 db mute attenuation 0db, 1khz input 80 db 0db gain 20k 30k input resistance r inline 12db gain 10k 15k ? input capacitance c inline 10 pf
wm8731 / wm8731l production data w pd rev 4.3 august 2006 12 test conditions avdd, hpvdd, dbvdd = 1.8v, agnd = 0v, dcvdd = 1.5v, dgnd = 0v, t a = +25 o c, slave mode, fs = 48khz, xti/mclk = 256fs unless otherwise stated. microphone input to adc @ 0db gain, fs = 48khz (40k ? source impedance. see figure 12) input signal level (0db) v inmic 1.0 avdd/3.3 vrms signal to noise ratio (note 1,3) snr a-weighted, 0db gain 80 db dynamic range (note 3) dr a-weighted, -60db full scale input 70 db total harmonic distortion thd 0db input, 0db gain -55 db 1khz 100mvpp 50 db power supply rejection ratio psrr 20hz to 20khz 100mvpp 45 db programmable gain boost micboost bit set 1khz input rsource < 50 ? 34 db mic path gain (micboost gain is additional to this nominal gain) micboost = 0 rsource < 50 ? 14 db mute attenuation 0db, 1khz input 80 db input resistance r inmic 10k ? input capacitance c inmic 10 pf microphone bias bias voltage v micbias 0 .75*avdd ? 100mv 0.75*avdd 0 .75*avdd + 100mv v bias current source i micbias 3 ma output noise voltage vn 1k to 20khz 25 nv/ hz line output for dac playback only (load = 10k ? . 50pf) 0dbfs full scale output voltage at line outputs 1.0 x avdd/3.3 vrms a-weighted, @ fs = 48khz 85 95 signal to noise ratio (note 1,3) snr a-weighted @ fs = 96khz 93 db dynamic range (note 3) dr a-weighted, -60db full scale input 85 90 db 1khz, 0dbfs -80 -75 total harmonic distortion thd 1khz, -3dbfs -90 db 1khz 100mvpp 50 power supply rejection ratio psrr 20hz to 20khz 100mvpp 45 db dac channel separation 1khz, 0db 100 db analogue line input to line output (load = 10k ? . 50pf, no gain on input ) bypass mode 0db full scale output voltage 1.0 x avdd/3.3 vrms signal to noise ratio (note 1,3) snr 85 90 db 1khz, 0db -83 -76 total harmonic distortion thd 1khz, -3db -92 db 1khz 100mvpp 50 power supply rejection ratio pssr 20hz to 20khz 100mvpp 45 db mute attenuation 1khz, 0db 80 db
wm8731 / wm8731l production data w pd rev 4.3 august 2006 13 test conditions avdd, hpvdd, dbvdd = 1.8v, agnd = 0v, dcvdd = 1.5v, dgnd = 0v, t a = +25 o c, slave mode, fs = 48khz, xti/mclk = 256fs unless otherwise stated. stereo headphone output 0db full scale output voltage 1.0 x avdd/3.3 vrms rl = 32 ? 9 max output power p o rl = 16 ? 18 mw signal to noise ratio (note 1,3) snr a-weighted 86 95 db 1khz, -5db fs signal r l = 32 ? 0.08 -62 0.1 -60 total harmonic distortion thd 1khz, -2db fs signal r l = 32 ? 1 -40 % db 1khz 100mvpp 50 power supply rejection ratio psrr 20hz - 20khz, 100mvpp 45 db programmable gain 1khz -73 0 6 db programmable gain step size 1khz 1 db mute attenuation 1khz, 0db 80 db microphone input to headphone output side tone mode 0db full scale output voltage 1.0 x avdd/3.3 vrms signal to noise ratio (note 1,3) snr 85 90 db 1khz 100mvpp 50 power supply rejection ratio psrr 20hz to 20khz 100mvpp 45 db programmable attenuation 1khz 6 15 db programmable attenuation step size 1khz 3 db mute attenuation 1khz, 0db 80 db notes: 1. ratio of output level with 1khz full scale input, to the output level with the input short circuited, measured ?a? weighted over a 20hz to 20khz bandwidth using an audio analyser. 2. ratio of output level with 1khz full scale input, to the output level with all zeros into the digital input, measured ?a? we ighted over a 20hz to 20khz bandwidth. 3. all performance measurements done with 20khz low pass filter, and where noted an a-weight filter. failure to use such a filt er will result in higher thd+n and lower snr and dynamic range readings than are found in the electrical characteristics. the low pass filter removes out of band noise; although it is not audible it may affect dynamic specification values. 4. vmid decoupled with 10uf and 0.1uf capacitors (smaller values may result in reduced performance). terminology 1. signal-to-noise ratio (db) - snr is a measure of the difference in level between the full scale output and the output with no signal applied. (no auto-zero or automute function is employed in achieving these results). 2. dynamic range (db) - dr is a measure of the difference between the highest and lowest portions of a signal. normally a thd+n measurement at 60db below full scale. the measured signal is then corrected by adding the 60db to it. (e.g. thd+n @ -60db= -32db, dr= 92db). 3. thd+n (db) - thd+n is a ratio, of the rms values, of (noise + distortion)/signal. 4. channel separation (db) - also known as cross-talk. this is a measure of the amount one channel is isolated from the other. normally measured by sending a full scale signal down one channel and measuring the other.
wm8731 / wm8731l production data w pd rev 4.3 august 2006 14 power consumption ? wm8731l current consumption typical mode description poweroff clkoutpd oscpd outpd dacpd adcpd micpd lineinpd avdd (1.8v) hp vdd (1.8v) dc vdd (1.5v) db vdd (1.8v) unit record and playback all active, oscillator enabled 0 0 0 0 0 0 0 0 6 0.6 2.7 0.9 ma playback only oscillator enabled 0 0 0 0 0 1 1 1 1.7 0.6 1.8 0.9 ma record only line record, oscillator enabled 0 0 0 1 1 0 1 0 3.9 - 2.4 0.9 ma mic record, oscillator enabled 0 0 0 1 1 0 0 1 3.6 - 2.4 0.9 ma side tone (microphone input to headphone output) clock stopped 0 0 1 0 1 1 0 1 0.8 0.6 - - ma analogue bypass (line-in to line-out) clock stopped 0 0 1 0 1 1 1 0 1.1 0.6 - - ma standby clock stopped 0 1 1 1 1 1 1 1 8 - - - a power down clock stopped 1 1 1 1 1 1 1 1 0.2 0.2 0.3 0.2 a table 2 powerdown mode current consumption examples notes: 1. avdd, hpvdd, dbvdd = 1.8v, agnd = 0v, dcvdd = 1.5v, dgnd = 0v, t a = +25 o c. slave mode, fs = 48khz, xti/mclk = 256fs (12.288mhz). 2. all figures are quiescent, with no signal. 3. all figures are measured with the audio interface in master mode (ms = 1). 4. the power dissipation in the headphone itself is not included in the above table.
wm8731 / wm8731l production data w pd rev 4.3 august 2006 15 master clock timing xti/mclk t xtil t xtih t xtiy figure 1 system clock timing requirements test conditions avdd, hpvdd, dbvdd = 3.3v, agnd = 0v, dcvdd = 1.5v, dgnd = 0v, t a = +25 o c, slave mode fs = 48khz, xti/mclk = 256fs unless otherwise stated. parameter symbol test conditions min typ max unit system clock timing information xti/mclk system clock pulse width high t xtih 18 ns xti/mclk system clock pulse width low t xtil 18 ns xti/mclk system clock cycle time t xtiy 54 ns xti/mclk duty cycle 40:60 60:40 xti/mclk t cop clkout clkout (div x2) figure 2 clock out timing requirements test conditions avdd, hpvdd, dbvdd = 3.3v, agnd = 0v, dcvdd = 1.5v, dgnd = 0v, t a = +25 o c, slave mode fs = 48khz, xti/mclk = 256fs unless otherwise stated. parameter symbol test conditions min typ max unit system clock timing information clkout propagation delay from xti/mclk falling edge t cop 0 10 ns
wm8731 / wm8731l production data w pd rev 4.3 august 2006 16 digital audio interface ? master mode bclk adcdat adclrc dacdat daclrc wm8731 codec dsp encoder/ decoder note: adc and dac can run at different rates figure 3 master mode connection bclk (output) adcdat adclrc dac/lrc (outputs) t dl dacdat t dda t dht t dst figure 4 digital audio data timing ? master mode test conditions avdd, hpvdd, dbdd = 3.3v, agnd = 0v, dcvdd = 1.5v, dgnd = 0v, t a = +25 o c, slave mode, fs = 48khz, xti/mclk = 256fs unless otherwise stated. parameter symbol test conditions min typ max unit audio data input timing information adclrc/daclrc propagation delay from bclk falling edge t dl 0 10 ns adcdat propagation delay from bclk falling edge t dda 0 15 ns dacdat setup time to bclck rising edge t dst 10 ns dacdat hold time from bclk rising edge t dht 10 ns
wm8731 / wm8731l production data w pd rev 4.3 august 2006 17 digital audio interface ? slave mode bclk adcdat adclrc dacdat daclrc wm8731 codec dsp encoder/ decoder note: the adc and dac can run at different rates figure 5 slave mode connection bclk daclrc/ adclrc t bch t bcl t bcy dacdat adcdat t lrsu t ds t lrh t dh t dd figure 6 digital audio data timing ? slave mode test conditions avdd, hpvdd, dbvdd = 3.3v, agnd = 0v, dcvdd = 1.5v, dgnd = 0v, t a = +25 o c, slave mode, fs = 48khz, xti/mclk = 256fs unless otherwise stated. parameter symbol test conditions min typ max unit audio data input timing information bclk cycle time t bcy 50 ns bclk pulse width high t bch 20 ns bclk pulse width low t bcl 20 ns daclrc/adclrc set-up time to bclk rising edge t lrsu 10 ns daclrc/adclrc hold time from bclk rising edge t lrh 10 ns dacdat set-up time to bclk rising edge t ds 10 ns dacdat hold time from bclk rising edge t dh 10 ns adcdat propagation delay from bclk falling edge t dd 0 10 ns
wm8731 / wm8731l production data w pd rev 4.3 august 2006 18 mpu interface timing csb sclk sdin t csl t dho t dsu t csh t scy t sch t scl t scs lsb t css figure 7 program register input timing - 3-wire mpu serial control mode test conditions avdd, hpvdd, dbvdd = 3.3v, agnd = 0v, dcvdd = 1.5v, dgnd = 0v, t a = +25 o c, slave mode, fs = 48khz, xti/mclk = 256fs unless otherwise stated. parameter symbol test conditions min typ max unit program register input information sclk rising edge to csb rising edge t scs 60 ns sclk pulse cycle time t scy 80 ns sclk pulse width low t scl 20 ns sclk pulse width high t sch 20 ns sdin to sclk set-up time t dsu 20 ns sclk to sdin hold time t dho 20 ns csb pulse width low t csl 20 ns csb pulse width high t csh 20 ns csb rising to sclk rising t css 20 ns
wm8731 / wm8731l production data w pd rev 4.3 august 2006 19 sdin sclk t 3 t 1 t 6 t 2 t 7 t 5 t 4 t 3 t 8 t 10 figure 8 program register input timing ? 2-wire mpu serial control mode test conditions avdd, hpvdd, dbvdd = 3.3v, agnd = 0v, dcvdd = 1.5v, dgnd = 0v, t a = +25 o c, slave mode, fs = 48khz, xti/mclk = 256fs unless otherwise stated. parameter symbol test conditions min typ max unit program register input information sclk frequency 0 526 khz sclk low pulsewidth t 1 1.3 us sclk high pulsewidth t 2 600 ns hold time (start condition) t 3 600 ns setup time (start condition) t 4 600 ns data setup time t 5 100 ns sdin, sclk rise time t 6 300 ns sdin, sclk fall time t 7 300 ns setup time (stop condition) t 8 600 ns data hold time t 10 900 ns
wm8731 / wm8731l production data w pd rev 4.3 august 2006 20 device description introduction the wm8731/l is a low power audio codec designed specifically for portable audio products. it?s features, performance and low power consumption make it ideal for portable mp3 players and portable mini-disc players. the codec includes line and microphone inputs to the on-board adc, line and headphone outputs from the on-board dac, a crystal oscillator, configurable digital audio interface and a choice of 2 or 3 wire mpu control interface. it is fully compatible and an ideal partner for a range of industry standard microprocessors, controllers and dsps. the codec includes three low noise inputs - mono microphone and stereo line. line inputs have +12db to -34db logarithmic volume level adjustments and mute. the microphone input has -6db to 34db volume level adjustment. an electret microphone bias level is also available. all the required input filtering is contained within the device with no external components required. the on-board stereo analogue to digital converter (adc) is of a high quality using a multi-bit high- order oversampling architecture delivering optimum performance with low power consumption. the output from the adc is available on the digital audio interface. the adc includes an optional digital high pass filter to remove unwanted dc components from the audio signal. the on-board digital to analogue converter (dac) accepts digital audio from the digital audio interface. digital filter de-emphasis at 32khz, 44.1khz and 48khz can be applied to the digital data under software control. the dac employs a high quality multi-bit high-order oversampling architecture to again deliver optimum performance with low power consumption. the dac outputs, microphone (sidetone) and line inputs ( bypass) are available both at line level and through a headphone amplifier capable of efficiently driving low impedance headphones. the headphone output volume is adjustable in the analogue domain over a range of +6db to ?73db and can be muted. the design of the wm8731/l has given much attention to power consumption without compromising performance. it includes the ability to power off selective parts of the circuitry under software control, thus conserving power. nine separate power save modes be configured under software control including a standby and power off mode. special techniques allow the audio to be muted and the device safely placed into standby, sections of the device powered off and volume levels adjusted without any audible cli cks, pops or zipper noises. therefore standby and power off modes maybe used dynamically under software control, whenever recording or playing is not required. the device caters for a number of different sampling rates including industry standard 8khz, 32khz, 44.1khz, 48khz, 88.2khz and 96khz. additionally, the device has an adc and dac that can operate at different sample rates. there are two unique schemes featured within the programmable sample rates of the wm8731/l: normal industry standard 256/384fs sampling mode may be used, with the added ability to mix different sampling rates. also a special usb mode is included, whereby all audio sampling rates can be generated from a 12.00mhz usb clock. thus, for example, the adc can record to the dsp at 44.1khz and be played back from the codec at 8khz with no external digital signal processing required. the digital filters used at for both record and playback are optimised for each sampling rate used. the digitised output is available in a number of audio data formats i 2 s, dsp mode (a burst mode in which frame sync plus 2 data packed words are transmitted), msb-first, left justified and msb-first, right justified. the digital audio interface can operate in both master or slave modes. the software control uses either 2 or 3-wire mpu interface. a crystal oscillator is included on board the device. the device can generate the system master clock or alternatively it can accept an external master clock from the audio system.
wm8731 / wm8731l production data w pd rev 4.3 august 2006 21 figure 9 functional block diagram audio signal path line inputs the wm8731/l provides left and right channel line inputs (rlinein and llinein). the inputs are high impedance and low capacitance, thus ideally suited to receiving line level signals from external hi-fi or audio equipment. both line inputs include independent programmable volume level adjustments and adc input mute. the scheme is illustrated in figure 10. passive rf and active anti-alias filters are also incorporated within the line inputs. these prevent high frequencies aliasing into the audio band or otherwise degrading performance. 12.5k vmid linein to adc figure 10 line input schematic mux mux vol vol adc adc digital filters digtal audio interface control interface dac dac vol/ mute vol/ mute h/p driver h/p driver csb sdin sclk rhpout lhpout rout lout rlinein llinein vmid dbvdd (3.3v) dgnd avdd agnd 0db/ 20db micin +12 to -34.5db, 1.5db steps, reg 02h clkout +6 to -73db 1 db steps, reg 06h hpvdd hpgnd +6 to -73db 1 db steps, reg 04h dcvdd (1.5v) adclrc daclrc bclk dacdat adcdat osc xti/mclk xto mode micbias mute bypass, reg 08h bypass, reg 08h clkin divider (div x1, x2) clkout divider (div x1, x2) atten/ mute mute mute atten/ mute mute mute mute mute mute wm8731 +12 to -34.5db, 1.5db steps, reg 00h mic boost reg 08h mute mic reg 00h sideatt, reg 08h sideatt, reg 08h sidetone reg 08h sidetone reg 08h dacmute reg 0ah dacmute reg 0ah clkodiv2, reg 10h oscpd reg 0ch clkoutpd, reg 0ch clkidiv2, reg 10h rlinein mute reg 02h llinein mute reg 00h adcpd reg 0ch dacpd reg 0ch micpd, reg 0ch insel, reg 08h insel, reg 08h
wm8731 / wm8731l production data w pd rev 4.3 august 2006 22 the gain between the line inputs and the adc is logarithmically adjustable from +12db to ?34.5db in 1.5db steps under software control. the adc full scale input is 1.0v rms at avdd = 3.3 volts. any voltage greater than full scale will possibly overload the adc and cause distortion. note that the full scale input tracks directly with avdd. the gain is independently adjustable on both right and left line inputs. however, by setting the inboth bit whilst programming the volume control, both channels are simultaneously updated with the same value. use of inboth reduces the required number of software writes required. the line inputs to the adc can be muted in the analogue domain under software control. the software control registers are shown table 3. note that the line input mute only mutes the input to the adc, this will still allow the line input signal to pass to the line output in bypass mode. register address bit label default description 4:0 linvol[4:0] 10111 ( 0db ) left channel line input volume control 11111 = +12db . . 1.5db steps down to 00000 = -34.5db 7 linmute 1 left channel line input mute to adc 1 = enable mute 0 = disable mute 0000000 left line in 8 lrinboth 0 left to right channel line input volume and mute data load control 1 = enable simultaneous load of linvol[4:0] and linmute to rinvol[4:0] and rinmute 0 = disable simultaneous load 4:0 rinvol[4:0] 10111 ( 0db ) right channel line input volume control 11111 = +12db . .1.5db steps down to 00000 = -34.5db 7 rinmute 1 right channel line input mute to adc 1 = enable mute 0 = disable mute 0000001 right line in 8 rlinboth 0 right to left channel line input volume and mute data load control 1 = enable simultaneous load of rinvol[4:0] and rinmute to linvol[4:0] and linmute 0 = disable simultaneous load table 3 line input software control the line inputs are biased internally through the operational amplifier to vmid. whenever the line inputs are muted or the device placed into standby mode, the line inputs are kept biased to vmid using special anti-thump circuitry. this reduces any audible clicks that may otherwise be heard when re-activating the inputs. the external components required to complete the line input application is shown in the figure 11.
wm8731 / wm8731l production data w pd rev 4.3 august 2006 23 agnd agnd r1 r2 c1 c2 agnd linein figure 11 line input application drawing for interfacing to a typical cd system, it is recommended that the input is scaled to ensure that there is no clipping of the signal. r1 = 5.6k, r2 = 5.6k, c1 = 220pf, c2 = 1 f. r1 and r2 form a resistive divider to attenuate the 2 vrms output from a cd player to a 1 vrms level, so avoiding overloading the inputs. r2 also provides a discharge path for c2, thus preventing the input to c2 charging to an excessive voltage which may otherwise damage any equipment connected that is not suitably protected against high voltages. c1 forms an rf low pass filter for increasing the rejection of rf interference picked up on any cables. c2 forms a dc blocking capacitor to remove the dc path between the wm8731/l and the driving audio equipment. c2 together with the input impedance of the wm8731/l form a high pass filter. microphone input micin is a high impedance, low capacitance input suitable for connection to a wide range of monophonic microphones of different dynamics and sensitivities. the micin includes programmable volume adjustments and a mute function. the scheme is shown in figure 12. passive rf and active anti-alias filters are also incorporated within the microphone inputs. these allow a matched interface to the multi-bit oversampling adc and preventing high frequencies aliasing into the audio band or otherwise degrading performance. 50k 10k vmid micin to adc vmid 20db gain boost figure 12 microphone input schematic there are 2 stages of gain made up of two low noise inverting operational amplifiers. the 1 st stage comprises a nominal gain of g1 = 50k/10k = 5. by adding an external resistor (rmic) in series with micin the gain of stage can be adjusted. for example adding rmic = 40k sets the gain of stage 1 to x1 (0db). the equation below can be used to calculate the gain versus rmic. g1 = 50k/ (rmic + 10k)
wm8731 / wm8731l production data w pd rev 4.3 august 2006 24 or alternatively to calculate the value of rmic to achieve a given gain, g1. rmic = (50k/g1) ? 10k the internal 50k and 10k resistors have a tolerance of 15%. for rmicext = 90k g = 0.5 (-6db) and for rmicext = 0 g = x10 (14db). the 2 nd stage comprises a 0db gain stage that can be software configured to provide a fixed 20db of gain for low sensitivity microphones. the microphone input can therefore be configured with a variable gain of between -6db and 14db on the 1 st stage, and an additional fixed 0db or 20db on the 2 nd stage. this allows for all gains to the input signal in the range ?6db to 34db to be catered for. the adc full scale input is 1.0v rms at avdd = 3.3 volts. any voltage greater than full scale will possibly overload the adc and cause distortion. note that the full scale input tracks directly with avdd. stage 1 and stage 2 gains should be configured so that the adc receives a maximum signal equal to its full scale for maximising the signal to noise. the software control for the micin is shown in table 4. note that the microphone mute only mutes the input to the adc, this will still allow the microphone input signal to pass to the line output in sidetone mode. register address bit label default description 0 micboost 0 microphone input level boost 1 = enable boost 0 = disable boost 0000100 analogue audio path control 1 mutemic 1 line input mute to adc 1 = enable mute 0 = disable mute table 4 microphone input software control the microphone input is biased internally through the operational amplifier to vmid. whenever the line inputs are muted the micin input is kept biased to vmid using special anti-thump circuitry. this reduces any audible clicks that may otherwise be heard when re-activating the input. the application drawing for the microphone is shown in figure 13. agnd agnd r1 r2 c1 c2 micin micbias agnd from microphone rmic figure 13 microphone input and bias application drawing recommended component values are c1 = 220pf (npo ceramic), c2 = 1 f, r1 = 680 ? , r2 = 47k. rmic values depends on gain setting (see above).
wm8731 / wm8731l production data w pd rev 4.3 august 2006 25 r1 and r2 form part of the biasing network (refer to microphone bias section below). r1 connected to micbias is necessary only for electret type microphones that require a voltage bias. r2 should always be present to prevent the microphone input from charging to a high voltage which may damage the microphone on connection. r1 and r2 should be large so as not to attenuate the signal from the microphone, which can have source impedance greater than 2k. c1 together with the source impedance of the microphone and the input impedance of micin forms an rf filter. c2 is a dc blocking capacitor to allow the microphone to be biased at a different dc voltage to the micin signal. microphone bias the micbias output provides a low noise reference voltage suitable for biasing electret type microphones and the associated external resistor biasing network. refer to the microphone input section for an application drawing and further description. the scheme for micbias is shown in figure 14. note that there is a maximum source current capability of 3ma available for the micbias. this limits the smallest value of external biasing resistors that can safely be used. note that the micbias output is not active in standby mode. vmid micbias agnd r 2r figure 14 microphone bias schematic adc the wm8731/l uses a multi-bit oversampled sigma-delta adc. a single channel of the adc is illustrated in the figure 15. from microphone input from line input analog integrator insel multi bits to adc digital filters figure 15 multi-bit oversampling sigma delta adc schematic
wm8731 / wm8731l production data w pd rev 4.3 august 2006 26 the use of multi-bit feedback and high oversampling rates reduces the effects of jitter and high frequency noise. the adc full scale input is 1.0v rms at avdd = 3.3 volts. any voltage greater than full scale will possibly overload the adc and cause distortion. note that the full scale input tra cks directly with avdd. the device employs a pair of adcs. the input can be selected from either the line inputs or the microphone input under software control. the two channels cannot be selected independently. the control is shown in table 5. register address bit label default description 0000100 analogue audio path control 2 insel 0 microphone/line input select to adc 1 = microphone input select to adc 0 = line input select to adc table 5 adc software control the digital data from the adc is fed for signal processing to the adc filters. adc filters the adc filters perform true 24 bit signal processing to convert the raw multi-bit oversampled data from the adc to the correct sampling frequency to be output on the digital audio interface. figure 16 illustrates the digital filter path. from adc digital hpf digital decimation filter to digital audio interface digital decimator hpfen figure 16 adc digital filter the adc digital filters contain a digital high pass filter, selectable via software control. the high-pass filter response detailed in digital filter characteristics. when the high-pass filter is enabled the dc offset is continuously calculated and subtracted from the input signal. by setting hpor the last calculated dc offset value is stored when the high-pass filter is disabled and will continue to be subtracted from the input signal. if the dc offset changes, the stored and subtracted value will not change unless the high-pass filter is enabled. the software control is shown in table 6. register address bit label default description 0 adchpd 0 adc high pass filter enable (digital) 1 = disable high pass filter 0 = enable high pass filter 0000101 digital audio path control 4 hpor 0 store dc offset when high pass filter disabled 1 = store offset 0 = clear offset table 6 adc software control
wm8731 / wm8731l production data w pd rev 4.3 august 2006 27 there are several types of adc filters, frequency and phase responses of these are shown in digital filter characteristics. the filter types are automatically configured depending on the sample rate chosen. refer to the sample rate section for more details. dac filters the dac filters perform true 24 bit signal processing to convert the incoming digital audio data from the digital audio interface at the specified sample rate to multi-bit oversampled data for processing by the analogue dac. figure 17 illustrates the dac digital filter path. from digital audio interface mute digital interpolation filter to line outputs digital de_emphasis deemp dacmu figure 17 dac filter schematic the dac digital filter can apply digital de-emphasis under software control, as shown in table 7.the dac can also perform a soft mute where the audio data is digitally brought to a mute level. this removes any abrupt step changes in the audio that might otherwise result in audible clicks in the audio outputs. register address bit label default description 2:1 deemp[1:0] 00 de-emphasis control (digital) 11 = 48khz 10 = 44.1khz 01 = 32khz 00 = disable 0000101 digital audio path control 3 dacmu 1 dac soft mute control (digital) 1 = enable soft mute 0 = disable soft mute table 7 dac software control dac the wm8731/l employs a multi-bit sigma delta oversampling digital to analogue converter. the scheme for the converter is illustrated in figure 18. from dac digital filters to line output figure 18 multi-bit oversampling sigma delta schematic
wm8731 / wm8731l production data w pd rev 4.3 august 2006 28 the dac converts the multi-level digital audio data stream from the dac digital filters into high quality analogue audio. line outputs the wm8731/l provides two low impedance line outputs llineout and rlineout, suitable for driving typical line loads of impedance 10k and capacitance 50pf. the line output is used to selectively sum the outputs from the dac or/and the line inputs in bypass mode. the llineout and rlineout outputs are only available at a line output level and are not level adjustable in the analogue domain, having a fixed gain of 0db. the level is fixed such that at the dac full scale level the output level is vrms at avdd = 3.3 volts. note that the dac full scale level tracks directly with avdd. the scheme is shown in figure 19. the line output includes a low order audio low pass filter for removing out-of band components from the sigma-delta dac. therefore no further external filtering is required in most applications. vmid from line inputs lineout from dac bypass to headphone amp dacsel from microphone input sidetone figure 19 line output schematic the dac output, line input and microphone are summed into the line output. in dac mode only the output from the dac is routed to the line outputs. in bypass mode the line input is summed into the line outputs. in side tone mode the microphone input is summed into the line output. these features can be used for either over-dubbing or, if the dac is muted, as a pure analogue bypass or side tone feature, so avoiding any digital signal processing. the line output is muted by either muting the dac (analogue) or soft muting (digital) and disabling the bypass and sidetone paths. refer to the dac section for more details. whenever the dac is muted or the device placed into standby mode the dc voltage is maintained at the line outputs to prevent any audible clicks from being present. the software control for the line outputs is shown in table 8. register address bit label default description 3 bypass 1 bypass switch 1 = enable bypass 0 = disable bypass 4 dacsel 0 dac select 1 = select dac 0 = don?t select dac 0000100 analogue audio path control 5 sidetone 0 side tone switch 1 = enable sidetone 0 = disable side tone table 8 output software control
wm8731 / wm8731l production data w pd rev 4.3 august 2006 29 the recommended external components are shown in figure 20. agnd r1 c1 agnd lineout r2 figure 20 line outputs application drawing recommended values are c1 = 10 f, r1 = 47k, r2 = 100 ? . c1 forms a dc blocking capacitor to the line outputs. r1 prevents the output voltage from drifting so protecting equipment connected to the line output. r2 forms a de-coupling resistor preventing abnormal loads from disturbing the device. note that poor choice of dielectric material for c1 can have dramatic effects on the measured signal distortion at the output headphone amplifier the wm8731/l has a stereo headphone output available on lhpout and rhpout. the output is designed specifically for driving 16 or 32 ? headphones with maximum efficiency and low power consumption. the headphone output includes a high quality volume level adjustment and mute function. the scheme of the circuit is shown in figure 21. vmid hpout from dac via lineout figure 21 headphone amplifier schematic lhpout and rhpout volumes can be independently adjusted under software control using the lhpvol[6:0] and rhpvol[6:0] bits respectively of the headphone output control registers. the adjustment is logarithmic with an 80db range in 1db steps from +6db to ?73db. the headphone outputs can be separately muted by writing codes less than 0110000 to lhpvol[6:0] or rhpvo[6:0]l bits. whenever the headphone outputs are muted or the device placed into standby mode, the dc voltage is maintained at the line outputs to prevent any audible clicks from being present.
wm8731 / wm8731l production data w pd rev 4.3 august 2006 30 a zero cross detect circuit is provided at the input to the headphones under the control of the lzcen and rzcen bits of the headphone output control register. using these controls the volume control values are only updated when the input signal to the gain stage is close to the analogue ground level. this minimises and audible clicks and zipper noise as the gain values are changed or the device muted. note that this circuit has no time out so if only dc levels are being applied to the gain stage input of more than approximately 20mv, then the gain will not be updated. this zero cross function is enabled when the lzcen and rzcen bit is set high during a volume register write. if there is concern that a dc level may have blocked a volume change (one made with lzcen or rzcen set high) then a subsequent volume write of the same value, but with the lzcen or rzcen bit set low will force a volume update, regardless of the dc level. lhpout and rhpout volume and zero-cross setting can be changed independently. alternatively, the user can lock the two channels together, allowing both to be updated simultaneously, halving the number of serial writes required, provided that the same gain is needed for both channels. this is achieved through writing to the hpboth bit of the control register. setting lrhpboth whilst writing to lhpvol and lzcen will simultaneously update the right headphone controls similarly. the corresponding effect on updating rlhpboth is also achieved. the software control is given in table 9. register address bit label default description 6:0 lhpvol[6:0] 1111001 ( 0db ) left channel headphone output volume control 1111111 = +6db . . 1db steps down to 0110000 = -73db 0000000 to 0101111 = mute 7 lzcen 0 left channel zero cross detect enable 1 = enable 0 = disable 0000010 left headphone out 8 lrhpboth 0 left to right channel headphone volume, mute and zero cross data load control 1 = enable simultaneous load of lhpvol[6:0] and lzcen to rhpvol[6:0] and rzcen 0 = disable simultaneous load 6:0 rhpvol[6:0] 1111001 ( 0db ) right channel headphone output volume control 1111111 = +6db . . 1db steps down to 0110000 = -73db 0000000 to 0101111 = mute 7 rzcen 0 right channel zero cross detect enable 1 = enable 0 = disable 0000011 right headphone out 8 rlhpboth 0 right to left channel headphone volume, mute and zero cross data load control 1 = enable simultaneous load of rhpvol[6:0] and rzcen to lhpvol[6:0] and lzcen 0 = disable simultaneous load table 9 headphone output software control
wm8731 / wm8731l production data w pd rev 4.3 august 2006 31 the recommended external components required to complete the application are shown in figure 22. agnd r1 c1 agnd hpout figure 22 headphone output application drawing recommended values are c1 = 220uf (10v electrolytic), r1 = 47k c1 forms a dc blocking capacitor to isolate the dc of the hpout from the headphones. r1 form a pull down resistor to discharge c1 to prevent the voltage at the connection to the headphones from rising to a level that may damage the headphones. bypass mode the wm8731/l includes a bypass mode whereby analogue line inputs are routed directly to the analogue line outputs and headphone outputs. the scheme for this is in figure 23. 12.5k vmid linein vmid hpout vmid from line inputs lineout from dac bypass (on) dacsel (off) sidetone (off) figure 23 signal routing in bypass mode
wm8731 / wm8731l production data w pd rev 4.3 august 2006 32 the bypass mode is selected under software control using the b ypass micro phone bit as shown in table 10. in true bypass mode, the output from the dac (dacsel) and (sidetone) should be de- selected from the line output block. however this can also be used to sum the dac output, line inputs together and microphone inputs. the analogue line input and headphone output volume controls and mutes are still operational in bypass mode. the 0db gain setting is recommended for the line input volume control to avoid distortion. the maximum signal at any point in the bypass path must be no greater than 1.0v rms at avdd = 3.3v, to avoid distortion. this amplitude tracks linearly with avdd. this means that if the dac is producing a 1vrms signal, and it is being summed with 1vrms line bypass si gnal, the resulting lineop signal will be clipped. register address bit label default description 0000100 analogue audio path control 3 bypass 1 bypass switch (anal ogue) 1 = enable bypass 0 = disable bypass table 10 bypass mode software control sidetone mode the wm8731/l also includes a side tone mode where the microphone input is routed to line and headphone outputs. the scheme for this is shown in figure 24. the side tone mode allows the microphone input to be attenuated to the outputs for telephone and headset applications. vmid hpout 50k 10k vmid micin vmid 10db gain boost vmid from line inputs lineout from dac bypass (off) dacsel (off) sidetone (on) figure 24 side tone mode schematic register address bit label default description 5 sidetone 0 side tone switch (analogue) 1 = enable side tone 0 = disable side tone 0000100 analogue audio path control 7:6 sideatt[1:0] 00 side tone attenuation 11 = -15db 10 = -12db 01 = -9db 00 = -6db table 11 side tone mode table
wm8731 / wm8731l production data w pd rev 4.3 august 2006 33 the side tone mode and attenuation is selected under software control using the sidetone bit as shown in table 11. in true side tone the output from the dac (dacsel) and line inputs (by pass) should be deselected from the line output block. however, this can also be used to sum the dac output, line inputs and microphone inputs together. the microphone boost gain control and headphone output volume control and mutes are still operational in side tone mode. the maximum signal at any point in the side tone path must be no greater than 1.0v rms at vdd = 3.3v, to avoid distortion. this amplitude tra cks li nearly with avdd. device operation device resetting the wm8731/l contains a power on reset circuit that resets the internal state of the device to a known condition. the power on reset is applied as dcvdd powers on and released only after the voltage level of dcvdd crosses a minimum turn off threshold. if dcvdd later falls below a minimum turn on threshold voltage then the power on reset is re-applied. the threshold voltages and associated hysteresis are shown in the electrical characteristics table. the user also has the ability to reset the device to a known state under software control as shown in the table below. register address bit label default description 0001111 reset register 8:0 reset not reset reset register writing 00000000 to register resets device table 12 software control of reset when using the software reset. in 3-wire mode the reset is applied on the rising edge of csb and released on the next rising edge of sclk. in 2-wire mode the reset is applied for the duration of the ack signal (approximately 1 sclk period, refer to figure 34). clocking schemes in a typical digital audio system there is only one central clock source producing a reference clock to which all audio data processing is synchronised. this clock is often referred to as the audio system?s master clock. to allow wm8731/l to be used in a centrally clocked system, the wm8731/l is capable of either generating this system clock itself or receiving it from an external source as will be discussed. for applications where it is desirable that the wm8731/l is the system clock source, then clock generation is achieved through the use of a suitable crystal connected between the xti/mclk input and xto output pins (see crystal oscillator section). for applications where a component other than the wm8731/l will generate the reference clock, the external system can be applied directly through the xti/mclk input pin with no software configuration necessary. note that in this situation, the oscillator circuit of the wm8731/l can be safely powered down to conserve power (see power down section). core clock the wm8731/l dsp core can be clocked either by mclk or mclk divided by 2. this is controlled by software as shown in table 13 below. register address bit label default description 0001000 sampling control 6 clkidiv2 0 core clock divider select 1 = core clock is mclk divided by 2 0 = core clock is mclk table 13 software control of core clock having a programmable mclk divider allows the device to be used in applications where higher frequency master clocks are available. for example the device can support 512fs master clocks whilst fundamentally operating in a 256fs mode.
wm8731 / wm8731l production data w pd rev 4.3 august 2006 34 crystal oscillator the wm8731/l includes a crystal oscillator circuit that allows the audio system?s reference clock to be generated on the device. this is available to the rest of the audio system in buffered form on clkout. the crystal oscillator is a low radiation type, designed for low emi. a typical application circuit is shown in figure 25. xti/mclk xto dgnd dgnd cp cp figure 25 crystal oscillator application circuit the wm8731/l crystal oscillator provides an extremely low jitter clock source. low jitter clocks are a requirement for high quality audio adc and dacs, r egardless of the converter architecture. the wm8731/l architecture is less susceptible than most converter techniques but still requires clocks with less than approximately 1ns of jitter to maintain performance. in applications where there is more than one source for the master clock, it is recommended that the clock is generated by the wm8731/l to minimise such problems. clockout the core clock is internally buffered and made available externally to the audio system on the clkout output pin. clkout provides a replication of the core clock, but buffered as suitable for driving external loads. there is no phase inversion between xti/mclk, the core clock and clockout but there will inevitably be some delay. the delay will be dependent on the load that clockout drives. refer to electrical characteristics. clkout can also be divided by 2 under software control, refer to table 14. note that if clkout is not required then the clkout buffer on the wm8731/l can be safely powered down to conserve power (see power down section). if the system architect has the choice between using f clkout = f mclk or f clkout = f mclk /2 in the interface, the latter is recommended to conserve power. when the divide by two is selected clkout changes on the rising edge of mclk. please refer to electrical characteristics for timing information. register address bit label default description 0001000 sampling control 7 clkodiv2 0 clkout divider select 1 = clockout is core clock divided by 2 0 = clockout is core clock table 14 programming clkout clkout is disabled and set low whenever the device is in reset.
wm8731 / wm8731l production data w pd rev 4.3 august 2006 35 digital audio interfaces wm8731/l may be operated in either one of the 4 offered audio interface modes. these are: ? right justified ? left justified ? i 2 s ? dsp mode all four of these modes are msb first and operate with data 16 to 32 bits. note that 32 bit data is not supported in right justified mode. the digital audio interface takes the data from the internal adc digital filter and places it on the adcdat output. adcdat is the formatted digital audio data stream output from the adc digital filters with left and right channels multiplexed together. adclrc is an alignment clock that controls whether left or right channel data is present on the adcdat lines. adcdat and adclrc are synchronous with the bclk signal with each data bit transition signified by a bclk high to low transition. bclk maybe an input or an output dependent on whether the device is in master or slave mode. refer to the master/slave operation section the digital audio interface also receives the digital audio data for the internal dac digital filters on the dacdat input. dacdat is the formatted digital audio data stream output to the dac digital filters with left and right channels multiplexed together. daclrc is an alignment clock that controls whether left or right channel data is present on dacdat. dacdat and daclrc are synchronous with the bclk signal with each data bit transition signified by a bclk high to low transition. dacdat is always an input. bclk and daclrc are either outputs or inputs depending whether the device is in master or slave mode. refer to the master/slave operation section there are four digital audio interface formats accommodated by the wm8731/l. these are shown in the figures below. refer to the electrical characteristic section for timing information. left justified mode is where the msb is available on the first rising edge of bclk following a adclr or daclrc transition. left channel right channel daclrc/ adclrc bclk dacdat/ adcdat 1/fs n 3 2 1 n-2 n-1 lsb msb n 3 2 1 n-2 n-1 lsb msb figure 26 left justified mode i 2 s mode is where the msb is available on the 2nd rising edge of bclk following a daclrc or adclrc transition.
wm8731 / wm8731l production data w pd rev 4.3 august 2006 36 left channel right channel daclrc/ adclrc bclk dacdat/ adcdat 1/fs n 3 2 1 n-2 n-1 lsb msb n 3 2 1 n-2 n-1 lsb msb 1 bclk 1 bclk figure 27 i 2 s mode right justified mode is where the lsb is available on the rising edge of bclk preceding a daclrc or adclrc transition, yet msb is still transmitted first. left channel right channel daclrc/ adclrc bclk dacdat/ adcdat 1/fs n 3 2 1 n-2 n-1 lsb msb n 3 2 1 n-2 n-1 lsb msb figure 28 right justified mode in dsp/pcm mode, the left channel msb is available on either the 1 st (mode b) or 2 nd (mode a) rising edge of bclk (selectable by lrp) following a rising edge of lrc. right channel data immediately follows left channel data. depending on word length, bclk frequency and sample rate, there may be unused bclk cycles between the lsb of the right channel data and the next sample. figure 29 dsp/pcm mode audio interface (mode a, lrp=1)
wm8731 / wm8731l production data w pd rev 4.3 august 2006 37 figure 30 dsp/pcm mode audio interface (mode b, lrp=0) in all modes daclrc and adclrc must always change on the falling edge of bclk, refer to figure 26, figure 27, figure 28, figure 29 and figure 30. operating the digital audio interface in dsp mode allows ease of use for supporting the various sample rates and word lengths. the only requirement is that all data is transferred within the correct number of bclk cycles to suit the chosen word l ength. in order for the digital audio interface to offer similar support in the three other modes (left justified, i 2 s and right justified), the daclrc, adclrc and bclk frequencies, continuity and mark-space ratios need more careful consideration. in slave mode, daclrc and adclrc inputs are not required to have a 50:50 mark-space ratio. bclk input need not be continuous. it is however required that there are sufficient bclk cycles for each daclrc/adclrc transition to clock the chosen data word length. the non-50:50 requirement on the lrcs is of use in some situations such as with a usb 12mhz clock. here simply dividing down a 12mhz clock within the dsp to generate lrcs and bclk will not generate the appropriate daclrc or adclrc since they will no longer change on the falling edge of bclk. for example, with 12mhz/32k fs mode there are 375 mclk per lrc. in these situations daclrc/adclrc can be made non 50:50. in master mode, daclrc and adclrc will be output with a 50:50 mark-space ratio with bclk output at 64 x base frequency (i.e. 48 khz).. the exception again is in usb mode where bclk is always 12mhz. so for example in 12mhz/32k fs mode there are 375 master clo cks per daclrc period. therefore daclrc and adclrc outputs will have a mark space ratio of 187:188. the adc and dac digital audio interface modes are software configurable as indicated in table 14. note that dynamically changing the software format may result in erroneous operation of the interfaces and is therefore not recommended. the length of the digital audio data is programmable at 16/20/24 or 32 bits, in i2s or left justified modes only. refer to the software control table below. the data is signed 2?s complement. both adc and dac are fixed at the same data length. the adc and dac digital filters process data using 24 bits. if the adc is programmed to output 16 or 20 bit data then it strips the lsbs from the 24 bit data. if the adc is programmed to output 32 bits then it packs the lsbs with zeros. if the dac is programmed to receive 16 or 20 bit data, the wm8731/l packs the lsbs with zeros. if the dac is programmed to receive 32 bit data, then it strips the lsbs. the dac outputs can be swapped under software control using lrp and lrswap as shown in table 15. stereo samples are normally generated as a left/right sampled pair. lrswap reverses the order so that a left sample goes to the right dac output and a right sample goes to the left dac output. lrp swaps the phasing so that a right/left sampled pair is expected and preserves the correct channel phase difference.
wm8731 / wm8731l production data w pd rev 4.3 august 2006 38 to accommodate system timing requirements the interpretation of bclk maybe inverted, this is controlled vias the software shown in table 15. this is especially appropriate for dsp mode. adcdat lines are always outputs. they power up and return from standby low. dacdat is always an input. it is expected to be set low by the audio interface controller when the wm8731/l is powered off or in standby. adclrc, daclrc and bclk can be either outputs or inputs depending on whether the device is configured as a master or slave. if the device is a master then the daclrc and bclk signals are outputs that default low. if the device is a slave then the daclrc and bclk are inputs. it is expected that these are set low by the audio interface controller when the wm8731/l is powered off or in standby. register address bit label default description 1:0 format[1:0] 10 audio data format select 11 = dsp mode, frame sync + 2 data packed words 10 = i 2 s format, msb-first left-1 justified 01 = msb-first, left justified 00 = msb-first, right justified 3:2 iwl[1:0] 10 input audio data bit length select 11 = 32 bits 10 = 24 bits 01 = 20 bits 00 = 16 bits 4 lrp 0 daclrc phase control (in left, right or i 2 s modes) 1 = right channel dac data when daclrc high 0 = right channel dac data when daclrc low (opposite phasing in i 2 s mode) or dsp mode a/b select (in dsp mode only) 1 = msb is available on 2nd bclk rising edge after daclrc rising edge 0 = msb is available on 1st bclk rising edge after daclrc rising edge 5 lrswap 0 dac left right clock swap 1 = right channel dac data left 0 = right channel dac data right 6 ms 0 master slave mode control 1 = enable master mode 0 = enable slave mode 0000111 digital audio interface format 7 bclkinv 0 bit clock invert 1 = invert bclk 0 = don?t invert bclk table 15 digital audio interface control note: if right justified 32 bit mode is selected then the wm8731/l defaults to 24 bits.
wm8731 / wm8731l production data w pd rev 4.3 august 2006 39 master and slave mode operation the wm8731/l can be configured as either a master or slave mode device. as a master mode device the wm8731/l controls sequencing of the data and clo cks on the digital audio interface. as a slave device the wm8731/l responds with data to the clo cks it receives over the digital audio interface. the mode is set with the ms bit of the control register as shown in table 16. register address bit label default description 0000111 digital audio interface format 6 ms 0 master slave mode control 1 = enable master mode 0 = enable slave mode table 16 programming master/slave modes as a master mode device the wm8731/l controls the sequencing of data transfer (adcdat, dacdat) and output of clo cks (bclk, adclrc, daclrc) over the digital audio interface. it uses the timing generated from either its on-board crystal or the mclk input as the reference for the clock and data transitions. this is illustrated in figure 31. adcdat is always an output from and dacdat is always an input to the wm8731/l independent of master or slave mode. bclk adcdat adclrc dacdat daclrc wm8731 codec dsp encoder/ decoder note: adc and dac can run at different rates figure 31 master mode as a slave device the wm8731/l sequences the data transfer (adcdat, dacdat) over the digital audio interface in response to the external applied clocks (bclk, adclrc, daclrc). this is illustrated in figure 32. bclk adcdat adclrc dacdat daclrc wm8731 codec dsp encoder/ decoder note: the adc and dac can run at different rates figure 32 slave mode note that the wm8731/l relies on controlled phase relationships between audio interface bclk, daclrc and the master mclk or clkout. to avoid any timing hazards, refer to the timing section for detailed information.
wm8731 / wm8731l production data w pd rev 4.3 august 2006 40 audio data sampling rates the wm8731/l provides for two modes of operation (normal and usb) to generate the required dac and adc sampling rates. normal and usb modes are programmed under software control according to the table below. in normal mode, the user controls the sample rate by using an appropriate mclk or crystal frequency and the sample rate control register setting. the wm8731/l can support sample rates from 8ks/s up to 96ks/s. in usb mode, the user must use a fixed mlck or crystal frequency of 12mhz to generate sample rates from 8ks/s to 96ks/s. it is called usb mode since the common usb (universal serial bus) clock is at 12mhz and the wm8731/l can be directly used within such systems. wm8731/l can generate all the normal audio sample rates from this one master clock frequency, removing the need for different master clocks or pll circuits. uniquely, the wm8731/l offers the user the ability to sample the adc and dac at different rates under software control in both normal and usb modes. this reduces the burden on any controlling dsp. however, the signal processing in the adc and dac over-sampling filters is tightly coupled together in order to minimise power consumption. to this end, only the combinations of sample rates listed in the following sections are supported. note that these rates supported are anticipated to be the likely combinations used in typical audio systems. register address bit label default description 0 usb/ normal 0 mode select 1 = usb mode (250/272fs) 0 = normal mode (256/384fs) 1 bosr 0 base over-sampling rate usb mode 0 = 250fs 1 = 272fs normal mode 96/88.2khz 0 = 256fs 1 = 128fs 1 = 384fs 1 = 192fs 0001000 sampling control 5:2 sr[3:0] 0000 adc and dac sample rate control; see usb mode and normal mode sample rate sections for operation table 17 sample rate control normal mode sample rates in normal mode mclk/crystal oscillator is set up according to the desired sample rates of the adc and dac. for adc or dac sampling rates of 8, 32, 48 or 96khz, mclk frequencies of either 12.288mhz (256fs) or 18.432mhz (384fs) can be used. for adc or dac sampling rates of 8, 44.1 or 88.2khz from mclk frequencies of either 11.2896mhz (256fs) or 16.9344mhz (384fs) can be used. table 18 should be used to set up the device to work with the various sample rate combinations. for example if the user wishes to use the wm8731/l in normal mode with the adc and dac sample rates at 48khz and 48khz respectively then the device should be programmed with bosr = 0, sr3 = 0, sr2 = 0, sr1 = 0 and sr0 = 0 with a 12.288mhz mclk or with bosr = 1, sr3 = 0, sr2 = 0, sr1 = 0 and sr0 = 0 with a 18.432mhz mclk. the adc and dac will then operate with a digital filter of type 1, refer to digital filter characteristics section for an explanation of the different filter types.
wm8731 / wm8731l production data w pd rev 4.3 august 2006 41 sampling rate adc dac mclk frequency sample rate register settings digital filter type khz khz mhz bosr sr3 sr2 sr1 sr0 12.288 0 (256fs) 0 0 0 0 48 48 18.432 1 (384fs) 0 0 0 0 1 12.288 0 (256fs) 0 0 0 1 48 8 18.432 1 (384fs) 0 0 0 1 1 12.288 0 (256fs) 0 0 1 0 8 48 18.432 1 (384fs) 0 0 1 0 1 12.288 0 (256fs) 0 0 1 1 8 8 18.432 1 (384fs) 0 0 1 1 1 12.288 0 (256fs) 0 1 1 0 32 32 18.432 1 (384fs) 0 1 1 0 1 12.288 0 (128fs) 0 1 1 1 96 96 18.432 1 (192fs) 0 1 1 1 2 11.2896 0 (256fs) 1 0 0 0 44.1 44.1 16.9344 1 (384fs) 1 0 0 0 1 11.2896 0 (256fs) 1 0 0 1 44.1 8 (note 1) 16.9344 1 (384fs) 1 0 0 1 1 11.2896 0 (256fs) 1 0 1 0 8 (note 1) 44.1 16.9344 1 (384fs) 1 0 1 0 1 11.2896 0 (256fs) 1 0 1 1 8 (note 1) 8 (note 1) 16.9344 1 (384fs) 1 0 1 1 1 11.2896 0 (128fs) 1 1 1 1 88.2 88.2 16.9344 1 (192fs) 1 1 1 1 2 table 18 normal mode sample rate look-up table notes: 1. 8k not exact, actual = 8.018khz 2. all other combinations of bosr and sr[3:0] that are not in the truth table are invalid the bosr bit represents the base over-sampling rate. this is the rate that the wm8731/l digital signal processing is carried out at. in normal mode, with bosr = 0, the base over-sampling rate is at 256fs, with bosr = 1, the base over-sampling rate is at 384fs. this can be used to determine the actual audio data rate produced by the adc and required by the dac. example scenarios are: 1. with a requirement that the adc data rate is 8khz and dac data rate is 48khz, then choosing mclk = 12.288mhz the device is programmed with bosr = 0 (256fs), sr3 = 0, sr2 = 0, sr1 = 1, sr0 = 0.the adc output data rate will then be exactly 8khz (derived from 12.288mhz/256 x1/6) and the dac expects data at exactly 48khz (derived from 12.288mhz/256) 2. with a requirement that adc data rate is 8khz and dac data rate is 44.1khz, then choosing mclk = 16.9344mhz the device is programmed with bosr = 1 (384fs), sr3 = 1, sr2 = 0, sr1 = 0, sr0 = 1. the adc will no longer output data at exactly 8.000khz, instead it will be 8.018khz (derived from 16.9344mhz/384 x 2/11), the dac still is at exactly 44.1khz (derived from 16.9344mhz/384). a slight (sub 0.5%) pitch shift will therefore result in the 8khz audio data and (importantly) the user must ensure that the data across the digital interface is correctly synchronised at the 8.018khz rate.
wm8731 / wm8731l production data w pd rev 4.3 august 2006 42 the exact sample rates achieved are defined by the relationships in table 19 below. actual sampling rate bosr=0 bosr=1 target sampling rate mclk=12.288 mclk=11.2896 mclk=18.432 mclk=16.9344 khz khz khz khz khz 8 8.018 8 8.018 8 (12.288mhz/256) x 1/6 (11.2896mhz/256) x 2/11 (18.432mhz/384) x 1/6 (16.9344mhz/384) x 2/11 32 32 32 (12.288mhz/256) x 2/3 not available (18.432mhz/384) x 2/3 not available 44.1 44.1 44.1 not available 11.2896mhz/256 not available 16.9344mhz /384 48 48 48 12.288mhz/256 not available 18.432mhz/384 not available 88.2 88.2 88.2 not available (11.2896mhz/256) x 2 not available (16.9344mhz /384) x 2 96 96 96 (12.288mhz/256) x 2 not available (18.432mhz/384) x 2 not available table 19 normal mode actual sample rates 128/192fs normal mode the normal mode sample rates are designed for standard 256fs and 384fs mclk rates. however the wm8731/l is also capable of being clocked from a 128 or 192fs mclk for application over limited sampling rates as shown in the table below. sampling rate adc dac mclk frequency sample rate register settings digital filter type khz khz mhz bosr sr3 sr2 sr1 sr0 6.144 0 0 1 1 1 48 48 9.216 1 0 1 1 1 2 5.6448 0 1 1 1 1 44.1 44.1 8.4672 1 1 1 1 1 2 table 20 128fs normal mode sample rate look-up table 512/768fs normal mode 512 fs and 768 fs mclk rates can be accommodated by using the clkidiv2 bit (register 8, bit 6). the core clock to the dsp will be divided by 2 so an external 512/768 fs mclk will become 256/384 fs internally and the device otherwise operates as in table 16 but with mclk at twice the specified rate. see table 13 for software control.
wm8731 / wm8731l production data w pd rev 4.3 august 2006 43 usb mode sample rates in usb mode the mclk/crystal oscillator input is 12mhz only. sampling rate adc dac mclk frequency sample rate register settings digital filter type khz khz mhz bosr sr3 sr2 sr1 sr0 48 48 12.000 0 0 0 0 0 0 44.1 (note 2) 44.1 (note 2) 12.000 1 1 0 0 0 1 48 8 12.000 0 0 0 0 1 0 44.1 (note 2) 8 (note 1) 12.000 1 1 0 0 1 1 8 48 12.000 0 0 0 1 0 0 8 ( ( note 1 ) 44.1 ( note 2 ) 12.000 1 1 0 1 0 1 8 8 12.000 0 0 0 1 1 0 8 ( note 1 ) 8 ( note 1 ) 12.000 1 1 0 1 1 1 32 32 12.000 0 0 1 1 0 0 96 96 12.000 0 0 1 1 1 3 88.2 (note 3) 88.2 (note 3) 12.000 1 1 1 1 1 2 table 21 usb mode sample rate look-up table notes: 1. 8k not exact, actual = 8.021khz 2. 44.1k not exact, actual = 44.118khz 3. 88.1k not exact, actual = 88.235khz 4. all other combinations of bosr and sr[3:0] that are not in the truth table are invalid the table above can be used to set up the device to work with various sample rate combinations. for example if the user wishes to use the wm8731/l in usb mode with the adc and dac sample rates at 48khz and 48khz respectively then the device should be programmed with bosr = 0, sr3 = 0, sr2 = 0, sr1 = 0 and sr0 = 0. the adc and dac will then operate with a digital filter of type 0, refer to digital filter characteristics section for an explanation of the different filter types. the bosr bit represents the base over-sampling rate. this is the rate that the wm8731/l digital signal processing is carried out at and the sampling rate will always be a sub-multiple of this. in usb mode, with bosr = 0, the base over-sampling rate is defined at 250fs, with bosr = 1, the base over-sampling rate is defined at 272fs. this can be used to determine the actual audio sampling rate produced by the adc and required by the dac. example scenarios are, :- 1. with a requirement that the adc data sampling rate is 8khz and dac data sampling rate is 48khz the device is programmed with bosr = 0 (250fs), sr3 = 0, sr2 = 0, sr1 = 1, sr0 = 0.the adc will then be exactly 8khz ( derived from 12mhz/250 x 1/6 ) and the dac expects data at exactly 48khz ( derived from 12mhz/250 ). 2. with a requirement that adc data rate is 8khz and dac data rate is 44.1khz the device is programmed with bosr = 0 (272fs), sr3 = 0, sr 2 = 0, sr1 = 1, sr0 = 0. the adc will not output data at exactly 8khz, instead it will be 8.021khz ( derived from 12mhz/272 x 2/11 ) and the dac at 44.118khz ( derived from 12mhz/272 ). a slight (sub 0.5%) pitch shift will therefore results in the 8khz and 44.1khz audio data and (more importantly) the user must ensure that
wm8731 / wm8731l production data w pd rev 4.3 august 2006 44 the data across the digital interface is correctly synchronised at the 8.021khz and 44.117khz rates. the exact sample rates supported for all combinations are defined by the relationships in table 22 below. actual sampling rate target sampling rate bosr=0 ( 250fs) bosr=1 (272fs) khz khz khz 8 8.021 8 12mhz/(250 x 48/8) 12mhz/(272 x 11/2) 32 32 12mhz/(250 x 48/32) not available 44.117 44.1 not available 12mhz/272 48 48 12mhz/250 not available 88.235 88.2 not available 12mhz/136 96 96 12mhz/125 not available table 22 usb mode actual sample rates activating dsp and digital audio interface to prevent any communication problems from arising across the digital audio interface the audio interface is disabled (tristate with weak 100k pulldown). once the audio interface and the sampling control has been programmed it is activated by setting the active bit under software control. register address bit label default description 0001001 active control 0 active 0 activate interface 1 = active 0 = inactive table 23 activating dsp and digital audio interface it is recommended that between changing any content of digital audio interface or sampling control register that the active bit is reset then set. software control interface the software control interface may be operated using either a 3-wire (spi-compatible) or 2-wire mpu interface. selection of interface format is achieved by setting the state of the mode pin. in 3-wire mode, sdin is used for the program data, sclk is used to clock in the program data and csb is used to latch in the program data. in 2-wire mode, sdin is used for serial data and sclk is used for the serial clock. in 2-wire mode, the state of csb pin allows the user to select one of two addresses. selection of serial control mode the serial control interface may be selected to operate in either 2 or 3-wire modes. this is achieved by setting the state of the mode pin. mode interface format 0 2 wire 1 3 wire table 24 control interface mode selection
wm8731 / wm8731l production data w pd rev 4.3 august 2006 45 3-wire (spi compatible) serial control mode the wm8731/l can be controlled using a 3-wire serial interface. sdin is used for the program data, sclk is used to clock in the program data and csb is use to latch in the program data. the 3-wire interface protocol is shown in figure 33. csb sclk sdin b15 b6 b7 b8 b9 b10 b11 b12 b13 b14 b1 b2 b3 b4 b5 b0 figure 33 3-wire serial interface notes: 1. b[15:9] are control address bits 2. b[8:0] are control data bits 3. csb is edge sensitive not level sensitive. the data is latched on the rising edge of csb. 2-wire serial control mode the wm8731/l supports a 2-wire mpu serial interface. the device operates as a slave device only. the wm8731/l has one of two slave addresses that are selected by setting the state of pin 15, (csb). sdin sclk ack r addr ack data b15-8 stop start data b7-0 r/w ack figure 34 2-wire serial interface notes: 1. b[15:9] are control address bits 2. b[8:0] are control data bits csb state address 0 0011010 1 0011011 table 25 2-wire mpu interface address selection to control the wm8731/l on the 2-wire bus the master control device must initiate a data transfer by establishing a start condition, defined by a high to low transition on sdin while sclk remains high. this indicates that an address and data transfer will follow. all peripherals on the 2-wire bus respond to the start condition and shift in the next eight bits (7-bit address + r/w bit). the transfer is msb first. the 7-bit address consists of a 6-bit base address + a single programmable bit to select one of two available addresses for this device (see table 24). if the correct address is received and the r/w bit is ?0?, indicating a write, then the wm8731/l will respond by pulling sdin low on the next clock pulse (ack). the wm8731/l is a write only device and will only respond to the r/w bit indicating a write. if the address is not recognised the device will return to the idle condition and wait for a new start condition and valid address.
wm8731 / wm8731l production data w pd rev 4.3 august 2006 46 once the wm8731/l has acknowledged a correct address, the controller will send eight data bits (bits b15-b8). wm8731/l will then acknowledge the sent data by pulling sdin low for one clock pulse. the controller will then send the remaining eight data bits (bits b7-b0) and the wm8731/l will then acknowledge again by pulling sdin low. a stop condition is defined when there is a low to high transition on sdin while sclk is high. if a start or stop condition is detected out of sequence at any point in the data transfer then the device will jump to the idle condition. after receiving a complete address and data sequence the wm8731/l returns to the idle state and waits for another start condition. each write to a register requires the complete sequence of start condition, device address and r/w bit followed by the 16 register address and data bits. power down modes the wm8731/l contains power conservation modes in which various circuit blo cks may be safely powered down in order to conserve power. this is software programmable as shown in the table below. register address bit label default description 0 lineinpd 1 line input power down 1 = enable power down 0 = disable power down 1 micpd 1 microphone input an bias power down 1 = enable power down 0 = disable power down 2 adcpd 1 adc power down 1 = enable power down 0 = disable power down 3 dacpd 1 dac power down 1 = enable power down 0 = disable power down 4 outpd 1 line output power down 1 = enable power down 0 = disable power down 5 oscpd 0 oscillator power down 1 = enable power down 0 = disable power down 6 clkoutpd 0 clkout power down 1 = enable power down 0 = disable power down 0000110 power down control 7 poweroff 1 power off device 1 = device power off 0 = device power on table 26 power conservation modes software control the power down control can be used to either a) permanently disable functions when not required in certain applications or b) to dynamically power up and down functions depending on the operating mode, e.g.: during playback or record. please follow the special instructions below if dynamic implementations are being used. lineinpd: simultaneously powers down both the line inputs. this can be done dynamically without any audible effects either on the adc or to the line outputs in bypass mode. this is of use when the device enters playback, pause or stop modes or the microphone input has been selected.
wm8731 / wm8731l production data w pd rev 4.3 august 2006 47 micpd: simultaneously powers down both the microphone input and microphone bias. if this is done dynamically, audible pops through the adc will result. this will only be audible if the microphone input is selected to the adc at the time. if the state of micpd is changed then the controlling dsp or microprocessor should switch to select the line inputs as input to the adc (insel) before changing micpd. this is of use when the device enters playback, pause or stop modes or the microphone input is not selected. adcpd: powers down the adc and adc filters. if this is done dynamically then audible pops will result if any signals were present through the adc. to overcome this whenever the adc is to be powered down, either mute the microphone input (mutein) or mutelinein, then change adcpd. this is of use when the device enters playback, pause or stop modes regardless of whether microphone or line inputs are selected. dacpd: powers down the dac and dac digital filters. if this is done dynamically then audible pops will result unless the following guidelines are followed. in order to prevent pops, the dac should first be soft-muted (dacmu), the output should then be de-selected from the line and headphone output (dacsel), then the dac powered down (dacpd). this is of use when the device enters record, pause, stop or bypass modes. outpd: powers down the line and headphone outputs. if this is done dynamically then audible pops may result unless the dac is first soft-muted (dacmu). this is of use when the device enters record, pause or stop modes. oscpd: powers off the on board crystal oscillator. the mclk input will function independently of the oscillator being powered down. clkoutpd: powers down the clockout pin. this conserves power, reduces digital noise and rf emissions if not required. clkout is tied low when powered down. the device can be put into a standby mode (standby) by powering down all the audio circuitry under software control as shown in table 27. if the crystal oscillator and/or clokout pins are being used to derive the system master clock, these should probably never be powered off in standby. provision has been made to independently power off these areas according to table 27. power off clkoutpd oscpd outpd dacpd adcpd micpd lineinpd description 0 0 0 1 1 1 1 1 standby, but with crystal oscillator os and clkout available 0 1 0 1 1 1 1 1 standby, but with crystal oscillator os available, clkout not-available 0 1 1 1 1 1 1 1 standby, crystal oscillator and clkout not- available. table 27 standby mode in standby mode the control interface, a small portion of the digital and areas of the analogue circuitry remain active. the active analogue includes the analogue vmid reference so that the analogue line inputs, line outputs and headphone outputs remain biased to vmid. this reduces any audible effects caused by dc glitches when entering or leaving standby mode.
wm8731 / wm8731l production data w pd rev 4.3 august 2006 48 the device can be powered off by writing to the poweroff bit of the power down register. in poweroff mode the control interface and a small portion of the digital remain active. the analogue vmid reference is disabled. as in standby mode the crystal oscillator and/or clkout pin can be independently controlled. refer to table 28. power off clkoutpd oscpd outpd dacpd adcpd micpd lineinpd description 1 0 0 x x x x x poweroff, but with crystal oscillator os and clkout available 1 1 0 x x x x x poweroff, but with crystal oscillator os available, clkout not-available 1 1 1 x x x x x poweroff, crystal oscillator and clkout not-available. table 28 poweroff mode register map the complete register map is shown in table 29. the detailed description can be found in table 30 and in the relevant text of the device description. there are 11 registers with 16 bits per register (7 bit address + 9 bits of data). these can be controlled using either the 2 wire or 3 wire mpu interface. register b 15 b 14 b 13 b 12 b 11 b 10 b 9 b8 b7 b6 b5 b4 b3 b2 b1 b0 r0 (00h) 0 0 0 0 0 0 0 lrin both lin mute 0 0 linvol r1 (02h) 0 0 0 0 0 0 1 rlin both rin mute 0 0 rinvol r2 (02h) 0 0 0 0 0 1 0 lrhp both lzcen lhpvol r3 (06h) 0 0 0 0 0 1 1 rlhp both rzcen rhpvol r4 (08h) 0 0 0 0 1 0 0 0 sideatt side ton e dac sel by pass insel m ute mi c mic boost r5 (0ah) 0 0 0 0 1 0 1 0 0 0 0 hpor dac mu deemph adc hpd r6 (0ch) 0 0 0 0 1 1 0 0 pwr off clk outpd oscpd outpd dacpd adcpd micpd lineinpd r7 (0eh) 0 0 0 0 1 1 1 0 bclk inv ms lr swap lrp iwl format r8 (10h) 0 0 0 1 0 0 0 0 clko div2 clki div2 sr bosr usb/ norm r9 (12h) 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 active r15(1eh) 0 0 0 1 1 1 1 reset address data table 29 mapping of program registers
wm8731 / wm8731l production data w pd rev 4.3 august 2006 49 register address bit label default description 4:0 linvol[4:0] 10111 ( 0db ) left channel line input volume control 11111 = +12db . . 1.5db steps down to 00000 = -34.5db 7 linmute 1 left channel line input mute to adc 1 = enable mute 0 = disable mute 0000000 left line in 8 lrinboth 0 left to right channel line input volume and mute data load control 1 = enable simultaneous load of linvol[4:0] and linmute to rinvol[4:0] and rinmute 0 = disable simultaneous load 4:0 rinvol[4:0] 10111 ( 0db ) right channel line input volume control 11111 = +12db . .1.5db steps down to 00000 = -34.5db 7 rinmute 1 right channel line input mute to adc 1 = enable mute 0 = disable mute 0000001 right line in 8 rlinboth 0 right to left channel line input volume and mute data load control 1 = enable simultaneous load of rinvol[4:0] and rinmute to linvol[4:0] and linmute 0 = disable simultaneous load 6:0 lhpvol [6:0] 1111001 ( 0db ) left channel headphone output volume control 1111111 = +6db . . 1db steps down to 0110000 = -73db 0000000 to 0101111 = mute 7 lzcen 0 left channel zero cross detect enable 1 = enable 0 = disable 0000010 left headphone out 8 lrhpboth 0 left to right channel headphone volume, mute and zero cross data load control 1 = enable simultaneous load of lhpvol[6:0] and lzcen to rhpvol[6:0] and rzcen 0 = disable simultaneous load
wm8731 / wm8731l production data w pd rev 4.3 august 2006 50 register address bit label default description 6:0 rhpvol [6:0] 1111001 ( 0db ) right channel headphone output volume control 1111111 = +6db . . 1db steps down to 0110000 = -73db 0000000 to 0101111 = mute 7 rzcen 0 right channel zero cross detect enable 1 = enable 0 = disable 0000011 right headphone out 8 rlhpboth 0 right to left channel headphone volume, mute and zero cross data load control 1 = enable simultaneous load of rhpvol[6:0] and rzcen to lhpvol[6:0] and lzcen 0 = disable simultaneous load 0 micboost 0 microphone input level boost 1 = enable boost 0 = disable boost 1 mutemic 1 mic input mute to adc 1 = enable mute 0 = disable mute 2 insel 0 microphone/line input select to adc 1 = microphone input select to adc 0 = line input select to adc 3 bypass 1 bypass switch 1 = enable bypass 0 = disable bypass 4 dacsel 0 dac select 1 =select dac 0 = don?t select dac 5 sidetone 0 side tone switch 1 = enable side tone 0 = disable side tone 0000100 analogue audio path control 7:6 sideatt[1:0] 00 side tone attenuation 11 = -15db 10 = -12db 01 = -9db 00 = -6db
wm8731 / wm8731l production data w pd rev 4.3 august 2006 51 register address bit label default description 0 adchpd 0 adc high pass filter enable 1 = disable high pass filter 0 = enable high pass filter 2:1 deemp[1:0] 00 de-emphasis control 11 = 48khz 10 = 44.1khz 01 = 32khz 00 = disable 3 dacmu 1 dac soft mute control 1 = enable soft mute 0 = disable soft mute 0000101 digital audio path control 4 hpor 0 store dc offset when high pass filter disabled 1 = store offset 0 = clear offset 0 lineinpd 1 line input power down 1 = enable power down 0 = disable power down 1 micpd 1 microphone input an bias power down 1 = enable power down 0 = disable power down 2 adcpd 1 adc power down 1 = enable power down 0 = disable power down 3 dacpd 1 dac power down 1 = enable power down 0 = disable power down 4 outpd 1 outputs power down 1 = enable power down 0 = disable power down 5 oscpd 0 oscillator power down 1 = enable power down 0 = disable power down 6 clkoutpd 0 clkout power down 1 = enable power down 0 = disable power down 0000110 power down control 7 poweroff 1 poweroff mode 1 = enable poweroff 0 = disable poweroff
wm8731 / wm8731l production data w pd rev 4.3 august 2006 52 register address bit label default description 1:0 format[1:0] 10 audio data format select 11 = dsp mode, frame sync + 2 data packed words 10 = i 2 s format, msb-first left-1 justified 01 = msb-first, left justified 00 = msb-first, right justified 3:2 iwl[1:0] 10 input audio data bit length select 11 = 32 bits 10 = 24 bits 01 = 20 bits 00 = 16 bits 4 lrp 0 daclrc phase control (in left, right or i 2 s modes) 1 = right channel dac data when daclrc high 0 = right channel dac data when daclrc low (opposite phasing in i 2 s mode) or dsp mode a/b select (in dsp mode only) 1 = msb is available on 2nd bclk rising edge after daclrc rising edge 0 = msb is available on 1st bclk rising edge after daclrc rising edge 5 lrswap 0 dac left right clock swap 1 = right channel dac data left 0 = right channel dac data right 6 ms 0 master slave mode control 1 = enable master mode 0 = enable slave mode 0000111 digital audio interface format 7 bclkinv 0 bit clock invert 1 = invert bclk 0 = don?t invert bclk 0 usb/ normal 0 mode select 1 = usb mode (250/272fs) 0 = normal mode (256/384fs) base over-sampling rate 1 bosr 0 usb mode 0 = 250fs 1 = 272fs normal mode 0 = 256fs 1 = 384fs 5:2 sr[3:0] 0000 adc and dac sample rate control; see usb mode and normal mode sample rate sections for operation 6 clkidiv2 0 core clock divider select 1 = core clock is mclk divided by 2 0 = core clock is mclk 0001000 sampling control 7 clkodiv2 0 clkout divider select 1 = clockout is core clock divided by 2 0 = clockout is core clock
wm8731 / wm8731l production data w pd rev 4.3 august 2006 53 register address bit label default description 0001001 active control 0 active 0 activate interface 1 = active 0 = inactive 0001111 reset register 8:0 reset not reset reset register writing 00000000 to register resets device table 30 register map description digital filter characteristics the adc and dac employ different digital filters. there are 4 types of digital filter, called type 0, 1, 2 and 3. the performance of types 0 and 1 is listed in the table below, the responses of all filters is shown in the proceeding pages. parameter test conditions min typ max unit adc filter type 0 (usb mode, 250fs operation) +/- 0.05db 0 0.416fs passband -6db 0.5fs passband ripple +/- 0.05 db stopband 0.584fs stopband attenuation f > 0.584fs -60 db adc filter type 1 (usb mode, 272fs or normal mode operation) +/- 0.05db 0 0.4535fs passband -6db 0.5fs passband ripple +/- 0.05 db stopband 0.5465fs stopband attenuation f > 0.5465fs -60 db -3db 3.7 -0.5db 10.4 high pass filter corner frequency -0.1db 21.6 hz dac filter type 0 (usb mode, 250fs operation) +/- 0.03db 0 0.416fs passband -6db 0.5fs passband ripple +/-0.03 db stopband 0.584fs stopband attenuation f > 0.584fs -50 db dac filter type 1 (usb mode, 272fs or normal mode operation) +/- 0.03db 0 0.4535fs passband -6db 0.5fs passband ripple +/- 0.03 db stopband 0.5465fs stopband attenuation f > 0.5465fs -50 db table 31 digital filter characteristics
wm8731 / wm8731l production data w pd rev 4.2 november 2005 54 dac filters adc filters mode group delay mode group delay 0 11/fs 0 12/fs 1 18/fs 1 20/fs 2 5/fs 2 3/fs 3 5/fs 3 6/fs table 32 adc/dac digital filters group delay terminology 1. stop band attenuation (db) - the degree to which the frequency spectrum is attenuated (outside audio band) 2. pass-band ripple ? any variation of the frequency response in the pass-band region
wm8731 / wm8731l production data w pd rev 4.3 august 2006 55 dac filter responses -100 -80 -60 -40 -20 0 0 0.5 1 1.5 2 2.5 3 response (db) frequency (fs) -0.04 -0.03 -0.02 -0.01 0 0.01 0.02 0.03 0.04 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 response (db) frequency (fs) figure 35 dac digital filter frequency response ?type 0 figure 36 dac digital filter ripple ?type 0 -100 -80 -60 -40 -20 0 0 0.5 1 1.5 2 2.5 3 response (db) frequency (fs) -0.04 -0.03 -0.02 -0.01 0 0.01 0.02 0.03 0.04 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 response (db) frequency (fs) figure 37 dac digital filter frequency response ?type 1 figure 38 dac digital filter ripple ?type 1 -100 -80 -60 -40 -20 0 0 0.5 1 1.5 2 2.5 3 response (db) frequency (fs) -0.06 -0.05 -0.04 -0.03 -0.02 -0.01 0 0.01 0.02 0 0.05 0.1 0.15 0.2 0.25 response (db) frequency (fs) figure 39 dac digital filter frequency response ?type 2 figure 40 dac digital filter ripple ?type 2
wm8731 / wm8731l production data w pd rev 4.2 november 2005 56 -100 -80 -60 -40 -20 0 0 0.5 1 1.5 2 2.5 3 response (db) frequency (fs) -0.25 -0.2 -0.15 -0.1 -0.05 0 0.05 0 0.05 0.1 0.15 0.2 0.25 response (db) frequency (fs) figure 41 dac digital filter frequency response ?type 3 figure 42 dac digital filter ripple ?type 3 adc filter responses -100 -80 -60 -40 -20 0 0 0.5 1 1.5 2 2.5 3 response (db) frequency (fs) -0.06 -0.05 -0.04 -0.03 -0.02 -0.01 0 0.01 0.02 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 response (db) frequency (fs) figure 43 adc digital filter frequency response ?type 0 figure 44 adc digital filter ripple ?type 0 -100 -80 -60 -40 -20 0 0 0.5 1 1.5 2 2.5 3 response (db) frequency (fs) -0.06 -0.05 -0.04 -0.03 -0.02 -0.01 0 0.01 0.02 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 response (db) frequency (fs) figure 45 adc digital filter frequency response ?type 1 figure 46 adc digital filter ripple ?type 1
wm8731 / wm8731l production data w pd rev 4.3 august 2006 57 -100 -80 -60 -40 -20 0 0 0.5 1 1.5 2 2.5 3 response (db) frequency (fs) -0.06 -0.05 -0.04 -0.03 -0.02 -0.01 0 0.01 0.02 0 0.05 0.1 0.15 0.2 0.25 response (db) frequency (fs) figure 47 adc digital filter frequency response ?type 2 figure 48 adc digital filter ripple ?type 2 -100 -80 -60 -40 -20 0 0 0.5 1 1.5 2 2.5 3 response (db) frequency (fs) -0.06 -0.05 -0.04 -0.03 -0.02 -0.01 0 0.01 0.02 0 0.05 0.1 0.15 0.2 0.25 response (db) frequency (fs) figure 49 adc digital filter frequency response ?type 3 figure 50 adc digital filter ripple ?type 3 adc high pass filter the wm8731/l has a selectable digital high pass filter to remove dc offsets. the filter response is characterised by the following polynomial. h(z) = 1 ? z -1 1 ? 0.9995 z -1
wm8731 / wm8731l production data w pd rev 4.2 november 2005 58 digital de-emphasis characteristics -10 -8 -6 -4 -2 0 0 2000 4000 6000 8000 10000 12000 14000 16000 response (db) frequency (fs) -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0 2000 4000 6000 8000 10000 12000 14000 16000 response (db) frequency (fs) figure 51 de-emphasis frequency response (32khz) figure 52 de-emphasis error (32khz) -10 -8 -6 -4 -2 0 0 5000 10000 15000 20000 response (db) frequency (fs) -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0 5000 10000 15000 20000 response (db) frequency (fs) figure 53 de-emphasis frequency response (44.1khz) figure 54 de-emphasis error (44.1khz) -10 -8 -6 -4 -2 0 0 5000 10000 15000 20000 response (db) frequency (fs) -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0 5000 10000 15000 20000 response (db) frequency (fs) figure 55 de-emphasis frequency response (48khz) figure 56 de-emphasis error (48khz)
wm8731 / wm8731l production data w pd rev 4.3 august 2006 59 applications information recommended external components figure 57 external components diagram
wm8731 / wm8731l production data w pd rev 4.2 november 2005 60 minimising pop noise at the analogue outputs to minimise any pop or click noise when the system is powered up or down, the following procedures are recommended. power up sequence ? switch on power supplies. by default the wm8731 is in standby mode, the dac is digitally muted and the audio interface and outputs are all off. ? set all required bits in the power down register (0ch) to ?0?; except the outpd bit, this should be set to ?1? (default). ? set required values in all other registers except 12h (active). ? set the ?active? bit in register 12h. ? the last write of the sequence should be setting outpd to ?0? (active) in register 0ch, enabling the dac signal path, free of any significant power-up noise. power down sequence ? set the outpd bit to ?1? (power down). ? remove the wm8731 supplies.
wm8731 / wm8731l production data w pd rev 4.3 august 2006 61 package dimensions - ssop notes: a. all linear dimensions are in millimeters. b. this drawing is subject to change without notice. c. body dimensions do not include mold flash or protrusion, not to exceed 0.20mm. d. meets jedec.95 mo-150, variation = ah. refer to this specification for further details. dm007.e ds: 28 pin ssop (10.2 x 5.3 x 1.75 mm) symbols dimensions (mm) min nom max a ----- ----- 2.0 a 1 0.05 ----- 0.25 a 2 1.65 1.75 1.85 b 0.22 0.30 0.38 c 0.09 ----- 0.25 d 9.90 10.20 10.50 e e 7.40 7.80 8.20 5.00 5.30 5.60 l 0.55 0.75 0.95 a a2 a1 14 1 15 28 e1 e c l gauge plane 0.25 e b d seating plane -c- 0.10 c ref: jedec.95, mo-150 e 1 l 1 1.25 ref 0.65 bsc l 1 0 o 4 o 8 o
wm8731 / wm8731l production data w pd rev 4.2 november 2005 62 package dimensions - qfn notes: 1. dimension b applied to metallized terminal and is measured between 0.25 mm and 0.30 mm from terminal tip. dimension l1 repr esents terminal pull back from package side wall. maximum of 0.1mm is acceptable. where terminal pull back exists, only upper half of lead is visible on package side wall due to half etching of leadframe. 2. falls within jedec, mo-220 with the exception of d2, e2: d2,e2: larger pad size chosen which is just outside jedec specification 3. all dimensions are in millimetres 4. this drawing is subject to change without notice. 5. shape and size of corner tie bar may vary with package terminal count. corner tie bar is connected to exposed pad internall y 6. refer to application note wan_0118 for further information regarding pcb footprints and qfn package soldering. dm023.f fl: 28 pin qfn plastic package 5 x 5 x 0.9 mm body, 0.50 mm lead pitch c aaa index area (d/2 x e/2) c aaa 2 x 2 x top view d e c 0.08 c ccc a a1 c (a3) seating plane 1 14 13 b 15 l d2/2 d2 e2 e2/2 see detail b b c ccc m a b b a a 27 28 1 2 7 8 21 22 e 5 corner tie bar detail a b c bbb m a 28x b l 28x k l1 r 1 1 0 . 5 6 6 m m 5 corner tie bar 0 . 1 5 detail b terminal tip r datum e e/2 l1 1 see detail a symbols dimensions (mm) min nom max note a a1 a3 b d d2 e e2 e l l1 r 0.85 0.90 1.00 0.05 0.02 0 0.2 ref 0.30 0.23 0.18 5.00 bsc 3.4 3.3 3.2 5.00 bsc 0.5 bsc 3.3 3.4 3.2 0.35 0.4 0.45 0.1 b(min)/2 1 2 2 1 k 0.20 aaa bbb ccc ref: 0.15 0.10 0.10 jedec, mo-220, variation vkkd-2 tolerances of form and position exposed ground paddle exposed ground paddle 6 bottom view side view 0 . 3 8 m m 0.210mm
wm8731 / wm8731l production data w pd rev 4.3 august 2006 63 important notice wolfson microelectronics plc (?wolfson?) products and services are sold subject to wolfson?s terms and conditions of sale, delivery and payment supplied at the time of order acknowledgement. wolfson warrants performance of its products to the specifications in effect at the date of shipment. wolfson reserves the right to make changes to its products and specifications or to discontinue any product or service without notice. customers should therefore obtain the latest version of relevant information from wolfson to verify that the information is current. testing and other quality control techniques are utilised to the extent wolfson deems necessary to support its warranty. specific testing of all parameters of each device is not necessarily performed unless required by law or regulation. in order to minimise risks associated with customer applications, the customer must use adequate design and operating safeguards to minimise inherent or procedural hazards. wolfson is not liable for applications assistance or customer product design. the customer is solely responsible for its selection and use of wolfson products. wolfson is not liable for such selection or use nor for use of any circuitry other than circuitry entirely embodied in a wolfson product. wolfson?s products are not intended for use in life support systems, appliances, nuclear systems or systems where malfunction can reasonably be expected to result in personal injury, death or severe property or environmental damage. any use of products by the customer for such purposes is at the customer?s own risk. wolfson does not grant any licence (express or implied) under any patent right, copyright, mask work right or other intellectual property right of wolfson covering or relating to any combination, machine, or process in which its products or services might be or are used. any provision or publication of any third party?s products or services does not constitute wolfson?s approval, licence, warranty or endorsement thereof. any third party trade marks contained in this document belong to the respective third party owner. reproduction of information from wolfson datasheets is permissible only if reproduction is without alteration and is accompanied by all associated copyright, proprietary and other notices (including this notice) and conditions. wolfson is not liable for any unauthorised alteration of such information or for any reliance placed thereon. any representations made, warranties given, and/or liabilities accepted by any person which differ from those contained in this datasheet or in wolfson?s standard terms and conditions of sale, delivery and payment are made, given and/or accepted at that person?s own risk. wolfson is not liable for any such representations, warranties or liabilities or for any reliance placed thereon by any person. address: wolfson microelectronics plc westfield house 26 westfield road edinburgh eh11 2qb united kingdom tel :: +44 (0)131 272 7000 fax :: +44 (0)131 272 7001 email :: sales@wolfsonmicro.com


▲Up To Search▲   

 
Price & Availability of WM8731SEDSR

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X